"use strict";(self.webpackChunkburgers=self.webpackChunkburgers||[]).push([[179],{497:()=>{function re(e){return"function"==typeof e}function ei(e){const n=e(r=>{Error.call(r),r.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const ti=ei(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,o)=>`${o+1}) ${r.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=n});function Br(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class mt{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const i of n)i.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(re(r))try{r()}catch(i){t=i instanceof ti?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{wd(i)}catch(s){t=t??[],s instanceof ti?t=[...t,...s.errors]:t.push(s)}}if(t)throw new ti(t)}}add(t){var n;if(t&&t!==this)if(this.closed)wd(t);else{if(t instanceof mt){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&Br(n,t)}remove(t){const{_finalizers:n}=this;n&&Br(n,t),t instanceof mt&&t._removeParent(this)}}mt.EMPTY=(()=>{const e=new mt;return e.closed=!0,e})();const Cd=mt.EMPTY;function Ed(e){return e instanceof mt||e&&"closed"in e&&re(e.remove)&&re(e.add)&&re(e.unsubscribe)}function wd(e){re(e)?e():e.unsubscribe()}const vn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},ni={setTimeout(e,t,...n){const{delegate:r}=ni;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=ni;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function bd(e){ni.setTimeout(()=>{const{onUnhandledError:t}=vn;if(!t)throw e;t(e)})}function Md(){}const z_=pa("C",void 0,void 0);function pa(e,t,n){return{kind:e,value:t,error:n}}let Dn=null;function ri(e){if(vn.useDeprecatedSynchronousErrorHandling){const t=!Dn;if(t&&(Dn={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=Dn;if(Dn=null,n)throw r}}else e()}class ga extends mt{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Ed(t)&&t.add(this)):this.destination=J_}static create(t,n,r){return new Hr(t,n,r)}next(t){this.isStopped?ya(function W_(e){return pa("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?ya(function q_(e){return pa("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?ya(z_,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Y_=Function.prototype.bind;function ma(e,t){return Y_.call(e,t)}class Q_{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){oi(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){oi(r)}else oi(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){oi(n)}}}class Hr extends ga{constructor(t,n,r){let o;if(super(),re(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&vn.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&ma(t.next,i),error:t.error&&ma(t.error,i),complete:t.complete&&ma(t.complete,i)}):o=t}this.destination=new Q_(o)}}function oi(e){vn.useDeprecatedSynchronousErrorHandling?function Z_(e){vn.useDeprecatedSynchronousErrorHandling&&Dn&&(Dn.errorThrown=!0,Dn.error=e)}(e):bd(e)}function ya(e,t){const{onStoppedNotification:n}=vn;n&&ni.setTimeout(()=>n(e,t))}const J_={closed:!0,next:Md,error:function X_(e){throw e},complete:Md},va="function"==typeof Symbol&&Symbol.observable||"@@observable";function Da(e){return e}let we=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){const i=function e0(e){return e&&e instanceof ga||function K_(e){return e&&re(e.next)&&re(e.error)&&re(e.complete)}(e)&&Ed(e)}(n)?n:new Hr(n,r,o);return ri(()=>{const{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=Sd(r))((o,i)=>{const s=new Hr({next:a=>{try{n(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[va](){return this}pipe(...n){return function Id(e){return 0===e.length?Da:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}(n)(this)}toPromise(n){return new(n=Sd(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Sd(e){var t;return null!==(t=e??vn.Promise)&&void 0!==t?t:Promise}const t0=ei(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let ii=(()=>{class e extends we{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new Ad(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new t0}next(n){ri(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){ri(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){ri(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:r,isStopped:o,observers:i}=this;return r||o?Cd:(this.currentObservers=null,i.push(n),new mt(()=>{this.currentObservers=null,Br(i,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new we;return n.source=this,n}}return e.create=(t,n)=>new Ad(t,n),e})();class Ad extends ii{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===r||r.call(n,t)}error(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===r||r.call(n,t)}complete(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)}_subscribe(t){var n,r;return null!==(r=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==r?r:Cd}}function Ft(e){return t=>{if(function n0(e){return re(e?.lift)}(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function Rt(e,t,n,r,o){return new r0(e,t,n,r,o)}class r0 extends ga{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(u){t.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){t.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function _n(e,t){return Ft((n,r)=>{let o=0;n.subscribe(Rt(r,i=>{r.next(e.call(t,i,o++))}))})}function Jt(e){return this instanceof Jt?(this.v=e,this):new Jt(e)}function Od(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function wa(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,u){!function o(i,s,a,u){Promise.resolve(u).then(function(l){i({value:l,done:a})},s)}(a,u,(s=e[i](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const Pd=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Fd(e){return re(e?.then)}function Rd(e){return re(e[va])}function kd(e){return Symbol.asyncIterator&&re(e?.[Symbol.asyncIterator])}function Ld(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const Vd=function I0(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function jd(e){return re(e?.[Vd])}function Bd(e){return function xd(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=n.apply(e,t||[]),i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){r[f]&&(o[f]=function(h){return new Promise(function(p,g){i.push([f,h,p,g])>1||a(f,h)})})}function a(f,h){try{!function u(f){f.value instanceof Jt?Promise.resolve(f.value.v).then(l,c):d(i[0][2],f)}(r[f](h))}catch(p){d(i[0][3],p)}}function l(f){a("next",f)}function c(f){a("throw",f)}function d(f,h){f(h),i.shift(),i.length&&a(i[0][0],i[0][1])}}(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield Jt(n.read());if(o)return yield Jt(void 0);yield yield Jt(r)}}finally{n.releaseLock()}})}function Hd(e){return re(e?.getReader)}function yt(e){if(e instanceof we)return e;if(null!=e){if(Rd(e))return function S0(e){return new we(t=>{const n=e[va]();if(re(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Pd(e))return function A0(e){return new we(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}(e);if(Fd(e))return function T0(e){return new we(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,bd)})}(e);if(kd(e))return $d(e);if(jd(e))return function N0(e){return new we(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(Hd(e))return function x0(e){return $d(Bd(e))}(e)}throw Ld(e)}function $d(e){return new we(t=>{(function O0(e,t){var n,r,o,i;return function Td(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(c){try{l(r.next(c))}catch(d){s(d)}}function u(c){try{l(r.throw(c))}catch(d){s(d)}}function l(c){c.done?i(c.value):function o(i){return i instanceof n?i:new n(function(s){s(i)})}(c.value).then(a,u)}l((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=Od(e);!(r=yield n.next()).done;)if(t.next(r.value),t.closed)return}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function Kt(e,t,n,r=0,o=!1){const i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function si(e,t,n=1/0){return re(t)?si((r,o)=>_n((i,s)=>t(r,i,o,s))(yt(e(r,o))),n):("number"==typeof t&&(n=t),Ft((r,o)=>function P0(e,t,n,r,o,i,s,a){const u=[];let l=0,c=0,d=!1;const f=()=>{d&&!u.length&&!l&&t.complete()},h=g=>l<r?p(g):u.push(g),p=g=>{i&&t.next(g),l++;let y=!1;yt(n(g,c++)).subscribe(Rt(t,D=>{o?.(D),i?h(D):t.next(D)},()=>{y=!0},void 0,()=>{if(y)try{for(l--;u.length&&l<r;){const D=u.shift();s?Kt(t,s,()=>p(D)):p(D)}f()}catch(D){t.error(D)}}))};return e.subscribe(Rt(t,h,()=>{d=!0,f()})),()=>{a?.()}}(r,o,e,n)))}const Ud=new we(e=>e.complete());function ba(e){return e[e.length-1]}function Gd(e){return function k0(e){return e&&re(e.schedule)}(ba(e))?e.pop():void 0}function zd(e,t=0){return Ft((n,r)=>{n.subscribe(Rt(r,o=>Kt(r,e,()=>r.next(o),t),()=>Kt(r,e,()=>r.complete(),t),o=>Kt(r,e,()=>r.error(o),t)))})}function qd(e,t=0){return Ft((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Wd(e,t){if(!e)throw new Error("Iterable cannot be null");return new we(n=>{Kt(n,t,()=>{const r=e[Symbol.asyncIterator]();Kt(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function ai(e,t){return t?function G0(e,t){if(null!=e){if(Rd(e))return function j0(e,t){return yt(e).pipe(qd(t),zd(t))}(e,t);if(Pd(e))return function H0(e,t){return new we(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(Fd(e))return function B0(e,t){return yt(e).pipe(qd(t),zd(t))}(e,t);if(kd(e))return Wd(e,t);if(jd(e))return function $0(e,t){return new we(n=>{let r;return Kt(n,t,()=>{r=e[Vd](),Kt(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){return void n.error(s)}i?n.complete():n.next(o)},0,!0)}),()=>re(r?.return)&&r.return()})}(e,t);if(Hd(e))return function U0(e,t){return Wd(Bd(e),t)}(e,t)}throw Ld(e)}(e,t):yt(e)}class q0 extends ii{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){const{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}}function Ma(...e){return ai(e,Gd(e))}function Zd(e={}){const{connector:t=(()=>new ii),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,u,l=0,c=!1,d=!1;const f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=u=void 0,c=d=!1},p=()=>{const g=s;h(),g?.unsubscribe()};return Ft((g,y)=>{l++,!d&&!c&&f();const D=u=u??t();y.add(()=>{l--,0===l&&!d&&!c&&(a=Ia(p,o))}),D.subscribe(y),!s&&l>0&&(s=new Hr({next:m=>D.next(m),error:m=>{d=!0,f(),a=Ia(h,n,m),D.error(m)},complete:()=>{c=!0,f(),a=Ia(h,r),D.complete()}}),yt(g).subscribe(s))})(i)}}function Ia(e,t,...n){if(!0===t)return void e();if(!1===t)return;const r=new Hr({next:()=>{r.unsubscribe(),e()}});return yt(t(...n)).subscribe(r)}function Yd(e,t){return Ft((n,r)=>{let o=null,i=0,s=!1;const a=()=>s&&!o&&r.complete();n.subscribe(Rt(r,u=>{o?.unsubscribe();let l=0;const c=i++;yt(e(u,c)).subscribe(o=Rt(r,d=>r.next(t?t(u,d,c,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Z0(e,t){return e===t}function Z(e){for(let t in e)if(e[t]===Z)return t;throw Error("Could not find renamed property on target object.")}function ui(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function pe(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(pe).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Sa(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Y0=Z({__forward_ref__:Z});function X(e){return e.__forward_ref__=X,e.toString=function(){return pe(this())},e}function A(e){return Aa(e)?e():e}function Aa(e){return"function"==typeof e&&e.hasOwnProperty(Y0)&&e.__forward_ref__===X}function Ta(e){return e&&!!e.\u0275providers}const Qd="https://g.co/ng/security#xss";class C extends Error{constructor(t,n){super(function li(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function T(e){return"string"==typeof e?e:null==e?"":String(e)}function Na(e,t){throw new C(-201,!1)}function et(e,t){null==e&&function I(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function B(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function vt(e){return{providers:e.providers||[],imports:e.imports||[]}}function ci(e){return Xd(e,fi)||Xd(e,Jd)}function Xd(e,t){return e.hasOwnProperty(t)?e[t]:null}function di(e){return e&&(e.hasOwnProperty(xa)||e.hasOwnProperty(nC))?e[xa]:null}const fi=Z({\u0275prov:Z}),xa=Z({\u0275inj:Z}),Jd=Z({ngInjectableDef:Z}),nC=Z({ngInjectorDef:Z});var j=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(j||{});let Oa;function je(e){const t=Oa;return Oa=e,t}function ef(e,t,n){const r=ci(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&j.Optional?null:void 0!==t?t:void Na(pe(e))}const J=globalThis;class b{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=B({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const $r={},La="__NG_DI_FLAG__",hi="ngTempTokenPath",iC=/\n/gm,nf="__source";let jn;function en(e){const t=jn;return jn=e,t}function uC(e,t=j.Default){if(void 0===jn)throw new C(-203,!1);return null===jn?ef(e,void 0,t):jn.get(e,t&j.Optional?null:void 0,t)}function F(e,t=j.Default){return(function Kd(){return Oa}()||uC)(A(e),t)}function U(e,t=j.Default){return F(e,pi(t))}function pi(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Va(e){const t=[];for(let n=0;n<e.length;n++){const r=A(e[n]);if(Array.isArray(r)){if(0===r.length)throw new C(900,!1);let o,i=j.Default;for(let s=0;s<r.length;s++){const a=r[s],u=lC(a);"number"==typeof u?-1===u?o=a.token:i|=u:o=a}t.push(F(o,i))}else t.push(F(r))}return t}function Ur(e,t){return e[La]=t,e.prototype[La]=t,e}function lC(e){return e[La]}function kt(e){return{toString:e}.toString()}var gi=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(gi||{}),st=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(st||{});const Dt={},G=[],mi=Z({\u0275cmp:Z}),ja=Z({\u0275dir:Z}),Ba=Z({\u0275pipe:Z}),sf=Z({\u0275mod:Z}),Lt=Z({\u0275fac:Z}),Gr=Z({__NG_ELEMENT_ID__:Z}),af=Z({__NG_ENV_ID__:Z});function uf(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}function Ha(e,t,n){let r=0;for(;r<n.length;){const o=n[r];if("number"==typeof o){if(0!==o)break;r++;const i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{const i=o,s=n[++r];cf(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function lf(e){return 3===e||4===e||6===e}function cf(e){return 64===e.charCodeAt(0)}function zr(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const o=t[r];"number"==typeof o?n=o:0===n||df(e,n,o,null,-1===n||2===n?t[++r]:null)}}return e}function df(e,t,n,r,o){let i=0,s=e.length;if(-1===t)s=-1;else for(;i<e.length;){const a=e[i++];if("number"==typeof a){if(a===t){s=-1;break}if(a>t){s=i-1;break}}}for(;i<e.length;){const a=e[i];if("number"==typeof a)break;if(a===n){if(null===r)return void(null!==o&&(e[i+1]=o));if(r===e[i+1])return void(e[i+2]=o)}i++,null!==r&&i++,null!==o&&i++}-1!==s&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),null!==r&&e.splice(i++,0,r),null!==o&&e.splice(i++,0,o)}const ff="ng-template";function fC(e,t,n){let r=0,o=!0;for(;r<e.length;){let i=e[r++];if("string"==typeof i&&o){const s=e[r++];if(n&&"class"===i&&-1!==uf(s.toLowerCase(),t,0))return!0}else{if(1===i){for(;r<e.length&&"string"==typeof(i=e[r++]);)if(i.toLowerCase()===t)return!0;return!1}"number"==typeof i&&(o=!1)}}return!1}function hf(e){return 4===e.type&&e.value!==ff}function hC(e,t,n){return t===(4!==e.type||n?e.value:ff)}function pC(e,t,n){let r=4;const o=e.attrs||[],i=function yC(e){for(let t=0;t<e.length;t++)if(lf(e[t]))return t;return e.length}(o);let s=!1;for(let a=0;a<t.length;a++){const u=t[a];if("number"!=typeof u){if(!s)if(4&r){if(r=2|1&r,""!==u&&!hC(e,u,n)||""===u&&1===t.length){if(at(r))return!1;s=!0}}else{const l=8&r?u:t[++a];if(8&r&&null!==e.attrs){if(!fC(e.attrs,l,n)){if(at(r))return!1;s=!0}continue}const d=gC(8&r?"class":u,o,hf(e),n);if(-1===d){if(at(r))return!1;s=!0;continue}if(""!==l){let f;f=d>i?"":o[d+1].toLowerCase();const h=8&r?f:null;if(h&&-1!==uf(h,l,0)||2&r&&l!==f){if(at(r))return!1;s=!0}}}}else{if(!s&&!at(r)&&!at(u))return!1;if(s&&at(u))continue;s=!1,r=u|1&r}}return at(r)||s}function at(e){return 0==(1&e)}function gC(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){const s=t[o];if(s===e)return o;if(3===s||6===s)i=!0;else{if(1===s||2===s){let a=t[++o];for(;"string"==typeof a;)a=t[++o];continue}if(4===s)break;if(0===s){o+=4;continue}}o+=i?1:2}return-1}return function vC(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function pf(e,t,n=!1){for(let r=0;r<t.length;r++)if(pC(e,t[r],n))return!0;return!1}function gf(e,t){return e?":not("+t.trim()+")":t}function _C(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if("string"==typeof s)if(2&r){const a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!at(s)&&(t+=gf(i,o),o=""),r=s,i=i||!at(r);n++}return""!==o&&(t+=gf(i,o)),t}function mf(e){return kt(()=>{const t=vf(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===gi.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||st.Emulated,styles:e.styles||G,_:null,schemas:e.schemas||null,tView:null,id:""};Df(n);const r=e.dependencies;return n.directiveDefs=yi(r,!1),n.pipeDefs=yi(r,!0),n.id=function AC(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function bC(e){return H(e)||De(e)}function MC(e){return null!==e}function Vt(e){return kt(()=>({type:e.type,bootstrap:e.bootstrap||G,declarations:e.declarations||G,imports:e.imports||G,exports:e.exports||G,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function yf(e,t){if(null==e)return Dt;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,t&&(t[o]=i)}return n}function x(e){return kt(()=>{const t=vf(e);return Df(t),t})}function H(e){return e[mi]||null}function De(e){return e[ja]||null}function Ne(e){return e[Ba]||null}function vf(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Dt,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||G,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:yf(e.inputs,t),outputs:yf(e.outputs)}}function Df(e){e.features?.forEach(t=>t(e))}function yi(e,t){if(!e)return null;const n=t?Ne:bC;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(MC)}const ae=0,E=1,P=2,oe=3,ut=4,Wr=5,be=6,Bn=7,ce=8,tn=9,Hn=10,N=11,Zr=12,_f=13,$n=14,de=15,Yr=16,Un=17,_t=18,Qr=19,Cf=20,nn=21,jt=22,Xr=23,Jr=24,L=25,$a=1,Ef=2,Ct=7,Gn=9,_e=11;function He(e){return Array.isArray(e)&&"object"==typeof e[$a]}function xe(e){return Array.isArray(e)&&!0===e[$a]}function Ua(e){return 0!=(4&e.flags)}function En(e){return e.componentOffset>-1}function Di(e){return 1==(1&e.flags)}function lt(e){return!!e.template}function Ga(e){return 0!=(512&e[P])}function wn(e,t){return e.hasOwnProperty(Lt)?e[Lt]:null}let Ce=null,_i=!1;function tt(e){const t=Ce;return Ce=e,t}const Mf={version:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{}};function Sf(e){if(!eo(e)||e.dirty){if(!e.producerMustRecompute(e)&&!Nf(e))return void(e.dirty=!1);e.producerRecomputeValue(e),e.dirty=!1}}function Tf(e){e.dirty=!0,function Af(e){if(void 0===e.liveConsumerNode)return;const t=_i;_i=!0;try{for(const n of e.liveConsumerNode)n.dirty||Tf(n)}finally{_i=t}}(e),e.consumerMarkedDirty?.(e)}function qa(e){return e&&(e.nextProducerIndex=0),tt(e)}function Wa(e,t){if(tt(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(eo(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)Ci(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Nf(e){zn(e);for(let t=0;t<e.producerNode.length;t++){const n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(Sf(n),r!==n.version))return!0}return!1}function xf(e){if(zn(e),eo(e))for(let t=0;t<e.producerNode.length;t++)Ci(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function Ci(e,t){if(function Pf(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}(e),zn(e),1===e.liveConsumerNode.length)for(let r=0;r<e.producerNode.length;r++)Ci(e.producerNode[r],e.producerIndexOfThis[r]);const n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){const r=e.liveConsumerIndexOfThis[t],o=e.liveConsumerNode[t];zn(o),o.producerIndexOfThis[r]=t}}function eo(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function zn(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let Ff=null;const Vf=()=>{},HC=(()=>({...Mf,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule(e.ref)},hasRun:!1,cleanupFn:Vf}))();class $C{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Bt(){return jf}function jf(e){return e.type.prototype.ngOnChanges&&(e.setInput=GC),UC}function UC(){const e=Hf(this),t=e?.current;if(t){const n=e.previous;if(n===Dt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function GC(e,t,n,r){const o=this.declaredInputs[n],i=Hf(e)||function zC(e,t){return e[Bf]=t}(e,{previous:Dt,current:null}),s=i.current||(i.current={}),a=i.previous,u=a[o];s[o]=new $C(u&&u.currentValue,t,a===Dt),e[r]=t}Bt.ngInherit=!0;const Bf="__ngSimpleChanges__";function Hf(e){return e[Bf]||null}const Et=function(e,t,n){},$f="svg";function K(e){for(;Array.isArray(e);)e=e[ae];return e}function Ei(e,t){return K(t[e])}function $e(e,t){return K(t[e.index])}function Gf(e,t){return e.data[t]}function Ye(e,t){const n=t[e];return He(n)?n:n[ae]}function on(e,t){return null==t?null:e[t]}function zf(e){e[Un]=0}function XC(e){1024&e[P]||(e[P]|=1024,Wf(e,1))}function qf(e){1024&e[P]&&(e[P]&=-1025,Wf(e,-1))}function Wf(e,t){let n=e[oe];if(null===n)return;n[Wr]+=t;let r=n;for(n=n[oe];null!==n&&(1===t&&1===r[Wr]||-1===t&&0===r[Wr]);)n[Wr]+=t,r=n,n=n[oe]}const S={lFrame:oh(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Qf(){return S.bindingsEnabled}function v(){return S.lFrame.lView}function $(){return S.lFrame.tView}function Zn(e){return S.lFrame.contextLView=e,e[ce]}function Yn(e){return S.lFrame.contextLView=null,e}function Ee(){let e=Xf();for(;null!==e&&64===e.type;)e=e.parent;return e}function Xf(){return S.lFrame.currentTNode}function wt(e,t){const n=S.lFrame;n.currentTNode=e,n.isParent=t}function Ja(){return S.lFrame.isParent}function Qn(){return S.lFrame.bindingIndex++}function $t(e){const t=S.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function lE(e,t){const n=S.lFrame;n.bindingIndex=n.bindingRootIndex=e,eu(t)}function eu(e){S.lFrame.currentDirectiveIndex=e}function nu(e){S.lFrame.currentQueryIndex=e}function dE(e){const t=e[E];return 2===t.type?t.declTNode:1===t.type?e[be]:null}function nh(e,t,n){if(n&j.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&j.Host||(o=dE(i),null===o||(i=i[$n],10&o.type))););if(null===o)return!1;t=o,e=i}const r=S.lFrame=rh();return r.currentTNode=t,r.lView=e,!0}function ru(e){const t=rh(),n=e[E];S.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function rh(){const e=S.lFrame,t=null===e?null:e.child;return null===t?oh(e):t}function oh(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function ih(){const e=S.lFrame;return S.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const sh=ih;function ou(){const e=ih();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Pe(){return S.lFrame.selectedIndex}function bn(e){S.lFrame.selectedIndex=e}function se(){const e=S.lFrame;return Gf(e.tView,e.selectedIndex)}let lh=!0;function wi(){return lh}function sn(e){lh=e}function bi(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:u,ngAfterViewChecked:l,ngOnDestroy:c}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),u&&(e.viewHooks??=[]).push(-n,u),l&&((e.viewHooks??=[]).push(n,l),(e.viewCheckHooks??=[]).push(n,l)),null!=c&&(e.destroyHooks??=[]).push(n,c)}}function Mi(e,t,n){ch(e,t,3,n)}function Ii(e,t,n,r){(3&e[P])===n&&ch(e,t,n,r)}function iu(e,t){let n=e[P];(3&n)===t&&(n&=8191,n+=1,e[P]=n)}function ch(e,t,n,r){const i=r??-1,s=t.length-1;let a=0;for(let u=void 0!==r?65535&e[Un]:0;u<s;u++)if("number"==typeof t[u+1]){if(a=t[u],null!=r&&a>=r)break}else t[u]<0&&(e[Un]+=65536),(a<i||-1==i)&&(vE(e,n,t,u),e[Un]=(4294901760&e[Un])+u+2),u++}function dh(e,t){Et(4,e,t);const n=tt(null);try{t.call(e)}finally{tt(n),Et(5,e,t)}}function vE(e,t,n,r){const o=n[r]<0,i=n[r+1],a=e[o?-n[r]:n[r]];o?e[P]>>13<e[Un]>>16&&(3&e[P])===t&&(e[P]+=8192,dh(a,i)):dh(a,i)}const Xn=-1;class no{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function au(e){return e!==Xn}function ro(e){return 32767&e}function oo(e,t){let n=function EE(e){return e>>16}(e),r=t;for(;n>0;)r=r[$n],n--;return r}let uu=!0;function Si(e){const t=uu;return uu=e,t}const fh=255,hh=5;let wE=0;const bt={};function Ai(e,t){const n=ph(e,t);if(-1!==n)return n;const r=t[E];r.firstCreatePass&&(e.injectorIndex=t.length,lu(r.data,e),lu(t,null),lu(r.blueprint,null));const o=Ti(e,t),i=e.injectorIndex;if(au(o)){const s=ro(o),a=oo(o,t),u=a[E].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|u[s+l]}return t[i+8]=o,i}function lu(e,t){e.push(0,0,0,0,0,0,0,0,t)}function ph(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Ti(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=Ch(o),null===r)return Xn;if(n++,o=o[$n],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return Xn}function cu(e,t,n){!function bE(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Gr)&&(r=n[Gr]),null==r&&(r=n[Gr]=wE++);const o=r&fh;t.data[e+(o>>hh)]|=1<<o}(e,t,n)}function gh(e,t,n){if(n&j.Optional||void 0!==e)return e;Na()}function mh(e,t,n,r){if(n&j.Optional&&void 0===r&&(r=null),!(n&(j.Self|j.Host))){const o=e[tn],i=je(void 0);try{return o?o.get(t,r,n&j.Optional):ef(t,r,n&j.Optional)}finally{je(i)}}return gh(r,0,n)}function yh(e,t,n,r=j.Default,o){if(null!==e){if(2048&t[P]&&!(r&j.Self)){const s=function NE(e,t,n,r,o){let i=e,s=t;for(;null!==i&&null!==s&&2048&s[P]&&!(512&s[P]);){const a=vh(i,s,n,r|j.Self,bt);if(a!==bt)return a;let u=i.parent;if(!u){const l=s[Cf];if(l){const c=l.get(n,bt,r);if(c!==bt)return c}u=Ch(s),s=s[$n]}i=u}return o}(e,t,n,r,bt);if(s!==bt)return s}const i=vh(e,t,n,r,bt);if(i!==bt)return i}return mh(t,n,r,o)}function vh(e,t,n,r,o){const i=function SE(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Gr)?e[Gr]:void 0;return"number"==typeof t?t>=0?t&fh:TE:t}(n);if("function"==typeof i){if(!nh(t,e,r))return r&j.Host?gh(o,0,r):mh(t,n,r,o);try{let s;if(s=i(r),null!=s||r&j.Optional)return s;Na()}finally{sh()}}else if("number"==typeof i){let s=null,a=ph(e,t),u=Xn,l=r&j.Host?t[de][be]:null;for((-1===a||r&j.SkipSelf)&&(u=-1===a?Ti(e,t):t[a+8],u!==Xn&&_h(r,!1)?(s=t[E],a=ro(u),t=oo(u,t)):a=-1);-1!==a;){const c=t[E];if(Dh(i,a,c.data)){const d=IE(a,t,n,s,r,l);if(d!==bt)return d}u=t[a+8],u!==Xn&&_h(r,t[E].data[a+8]===l)&&Dh(i,a,t)?(s=c,a=ro(u),t=oo(u,t)):a=-1}}return o}function IE(e,t,n,r,o,i){const s=t[E],a=s.data[e+8],c=function Ni(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,u=e.directiveStart,c=i>>20,f=o?a+c:e.directiveEnd;for(let h=r?a:a+c;h<f;h++){const p=s[h];if(h<u&&n===p||h>=u&&p.type===n)return h}if(o){const h=s[u];if(h&&lt(h)&&h.type===n)return u}return null}(a,s,n,null==r?En(a)&&uu:r!=s&&0!=(3&a.type),o&j.Host&&i===a);return null!==c?Mn(t,s,c,a):bt}function Mn(e,t,n,r){let o=e[n];const i=t.data;if(function DE(e){return e instanceof no}(o)){const s=o;s.resolving&&function Q0(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new C(-200,`Circular dependency in DI detected for ${e}${n}`)}(function W(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():T(e)}(i[n]));const a=Si(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?je(s.injectImpl):null;nh(e,r,j.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function yE(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=jf(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}(n,i[n],t)}finally{null!==l&&je(l),Si(a),s.resolving=!1,sh()}}return o}function Dh(e,t,n){return!!(n[t+(e>>hh)]&1<<e)}function _h(e,t){return!(e&j.Self||e&j.Host&&t)}class Fe{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return yh(this._tNode,this._lView,t,pi(r),n)}}function TE(){return new Fe(Ee(),v())}function du(e){return Aa(e)?()=>{const t=du(A(e));return t&&t()}:wn(e)}function Ch(e){const t=e[E],n=t.type;return 2===n?t.declTNode:1===n?e[be]:null}const Kn="__parameters__";function tr(e,t,n){return kt(()=>{const r=function hu(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;const s=new o(...i);return a.annotation=s,a;function a(u,l,c){const d=u.hasOwnProperty(Kn)?u[Kn]:Object.defineProperty(u,Kn,{value:[]})[Kn];for(;d.length<=c;)d.push(null);return(d[c]=d[c]||[]).push(s),u}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function rr(e,t){e.forEach(n=>Array.isArray(n)?rr(n,t):t(n))}function wh(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function xi(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Qe(e,t,n){let r=or(e,t);return r>=0?e[1|r]=n:(r=~r,function LE(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function pu(e,t){const n=or(e,t);if(n>=0)return e[1|n]}function or(e,t){return function bh(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}(e,t,1)}const mu=Ur(tr("Optional"),8),yu=Ur(tr("SkipSelf"),4);function Li(e){return 128==(128&e.flags)}var an=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(an||{});const Cu=new Map;let aw=0;const wu="__ngContext__";function Ie(e,t){He(t)?(e[wu]=t[Qr],function lw(e){Cu.set(e[Qr],e)}(t)):e[wu]=t}let bu;function Mu(e,t){return bu(e,t)}function co(e){const t=e[oe];return xe(t)?t[oe]:t}function Gh(e){return qh(e[Zr])}function zh(e){return qh(e[ut])}function qh(e){for(;null!==e&&!xe(e);)e=e[ut];return e}function ar(e,t,n,r,o){if(null!=r){let i,s=!1;xe(r)?i=r:He(r)&&(s=!0,r=r[ae]);const a=K(r);0===e&&null!==n?null==o?Qh(t,n,a):In(t,n,a,o||null,!0):1===e&&null!==n?In(t,n,a,o||null,!0):2===e?function Gi(e,t,n){const r=$i(e,t);r&&function Aw(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=i&&function xw(e,t,n,r,o){const i=n[Ct];i!==K(n)&&ar(t,e,r,i,o);for(let a=_e;a<n.length;a++){const u=n[a];ho(u[E],u,e,t,r,i)}}(t,e,i,n,o)}}function Bi(e,t,n){return e.createElement(t,n)}function Zh(e,t){const n=e[Gn],r=n.indexOf(t);qf(t),n.splice(r,1)}function Hi(e,t){if(e.length<=_e)return;const n=_e+t,r=e[n];if(r){const o=r[Yr];null!==o&&o!==e&&Zh(o,r),t>0&&(e[n-1][ut]=r[ut]);const i=xi(e,_e+t);!function _w(e,t){ho(e,t,t[N],2,null,null),t[ae]=null,t[be]=null}(r[E],r);const s=i[_t];null!==s&&s.detachView(i[E]),r[oe]=null,r[ut]=null,r[P]&=-129}return r}function Su(e,t){if(!(256&t[P])){const n=t[N];t[Xr]&&xf(t[Xr]),t[Jr]&&xf(t[Jr]),n.destroyNode&&ho(e,t,n,3,null,null),function ww(e){let t=e[Zr];if(!t)return Au(e[E],e);for(;t;){let n=null;if(He(t))n=t[Zr];else{const r=t[_e];r&&(n=r)}if(!n){for(;t&&!t[ut]&&t!==e;)He(t)&&Au(t[E],t),t=t[oe];null===t&&(t=e),He(t)&&Au(t[E],t),n=t&&t[ut]}t=n}}(t)}}function Au(e,t){if(!(256&t[P])){t[P]&=-129,t[P]|=256,function Sw(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const o=t[n[r]];if(!(o instanceof no)){const i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){const a=o[i[s]],u=i[s+1];Et(4,a,u);try{u.call(a)}finally{Et(5,a,u)}}else{Et(4,o,i);try{i.call(o)}finally{Et(5,o,i)}}}}}(e,t),function Iw(e,t){const n=e.cleanup,r=t[Bn];if(null!==n)for(let i=0;i<n.length-1;i+=2)if("string"==typeof n[i]){const s=n[i+3];s>=0?r[s]():r[-s].unsubscribe(),i+=2}else n[i].call(r[n[i+1]]);null!==r&&(t[Bn]=null);const o=t[nn];if(null!==o){t[nn]=null;for(let i=0;i<o.length;i++)(0,o[i])()}}(e,t),1===t[E].type&&t[N].destroy();const n=t[Yr];if(null!==n&&xe(t[oe])){n!==t[oe]&&Zh(n,t);const r=t[_t];null!==r&&r.detachView(e)}!function cw(e){Cu.delete(e[Qr])}(t)}}function Tu(e,t,n){return function Yh(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[ae];{const{componentOffset:o}=r;if(o>-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===st.None||i===st.Emulated)return null}return $e(r,n)}}(e,t.parent,n)}function In(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Qh(e,t,n){e.appendChild(t,n)}function Xh(e,t,n,r,o){null!==r?In(e,t,n,r,o):Qh(e,t,n)}function $i(e,t){return e.parentNode(t)}let Nu,Fu,ep=function Kh(e,t,n){return 40&e.type?$e(e,n):null};function Ui(e,t,n,r){const o=Tu(e,r,t),i=t[N],a=function Jh(e,t,n){return ep(e,t,n)}(r.parent||t[be],r,t);if(null!=o)if(Array.isArray(n))for(let u=0;u<n.length;u++)Xh(i,o,n[u],a,!1);else Xh(i,o,n,a,!1);void 0!==Nu&&Nu(i,r,t,n,o)}function fo(e,t){if(null!==t){const n=t.type;if(3&n)return $e(t,e);if(4&n)return xu(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return fo(e,r);{const o=e[t.index];return xe(o)?xu(-1,o):K(o)}}if(32&n)return Mu(t,e)()||K(e[t.index]);{const r=np(e,t);return null!==r?Array.isArray(r)?r[0]:fo(co(e[de]),r):fo(e,t.next)}}return null}function np(e,t){return null!==t?e[de][be].projection[t.projection]:null}function xu(e,t){const n=_e+e+1;if(n<t.length){const r=t[n],o=r[E].firstChild;if(null!==o)return fo(r,o)}return t[Ct]}function Ou(e,t,n,r,o,i,s){for(;null!=n;){const a=r[n.index],u=n.type;if(s&&0===t&&(a&&Ie(K(a),r),n.flags|=2),32!=(32&n.flags))if(8&u)Ou(e,t,n.child,r,o,i,!1),ar(t,e,o,a,i);else if(32&u){const l=Mu(n,r);let c;for(;c=l();)ar(t,e,o,c,i);ar(t,e,o,a,i)}else 16&u?op(e,t,r,n,o,i):ar(t,e,o,a,i);n=s?n.projectionNext:n.next}}function ho(e,t,n,r,o,i){Ou(n,r,e.firstChild,t,o,i,!1)}function op(e,t,n,r,o,i){const s=n[de],u=s[be].projection[r.projection];if(Array.isArray(u))for(let l=0;l<u.length;l++)ar(t,e,o,u[l],i);else{let l=u;const c=s[oe];Li(r)&&(l.flags|=128),Ou(e,t,l,c,o,i,!0)}}function ip(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function sp(e,t,n){const{mergedAttrs:r,classes:o,styles:i}=n;null!==r&&Ha(e,t,r),null!==o&&ip(e,t,o),null!==i&&function Pw(e,t,n){e.setAttribute(t,"style",n)}(e,t,i)}class cp{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Qd})`}}function un(e){return e instanceof cp?e.changingThisBreaksApplicationSecurity:e}const Ww=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;var cr=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(cr||{});function Bu(e){const t=function mo(){const e=v();return e&&e[Hn].sanitizer}();return t?t.sanitize(cr.URL,e)||"":function po(e,t){const n=function Uw(e){return e instanceof cp&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Qd})`)}return n===t}(e,"URL")?un(e):function ku(e){return(e=String(e)).match(Ww)?e:"unsafe:"+e}(T(e))}const Zi=new b("ENVIRONMENT_INITIALIZER"),vp=new b("INJECTOR",-1),Dp=new b("INJECTOR_DEF_TYPES");class Hu{get(t,n=$r){if(n===$r){const r=new Error(`NullInjectorError: No provider for ${pe(t)}!`);throw r.name="NullInjectorError",r}return n}}function ab(...e){return{\u0275providers:_p(0,e),\u0275fromNgModule:!0}}function _p(e,...t){const n=[],r=new Set;let o;const i=s=>{n.push(s)};return rr(t,s=>{const a=s;Yi(a,i,[],r)&&(o||=[],o.push(a))}),void 0!==o&&Cp(o,i),n}function Cp(e,t){for(let n=0;n<e.length;n++){const{ngModule:r,providers:o}=e[n];Uu(o,i=>{t(i,r)})}}function Yi(e,t,n,r){if(!(e=A(e)))return!1;let o=null,i=di(e);const s=!i&&H(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const u=e.ngModule;if(i=di(u),!i)return!1;o=u}const a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){const u="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const l of u)Yi(l,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let l;r.add(o);try{rr(i.imports,c=>{Yi(c,t,n,r)&&(l||=[],l.push(c))})}finally{}void 0!==l&&Cp(l,t)}if(!a){const l=wn(o)||(()=>new o);t({provide:o,useFactory:l,deps:G},o),t({provide:Dp,useValue:o,multi:!0},o),t({provide:Zi,useValue:()=>F(o),multi:!0},o)}const u=i.providers;if(null!=u&&!a){const l=e;Uu(u,c=>{t(c,l)})}}}return o!==e&&void 0!==e.providers}function Uu(e,t){for(let n of e)Ta(n)&&(n=n.\u0275providers),Array.isArray(n)?Uu(n,t):t(n)}const ub=Z({provide:String,useValue:Z});function Gu(e){return null!==e&&"object"==typeof e&&ub in e}function Sn(e){return"function"==typeof e}const zu=new b("Set Injector scope."),Qi={},cb={};let qu;function Xi(){return void 0===qu&&(qu=new Hu),qu}class Mt{}class dr extends Mt{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Zu(t,s=>this.processProvider(s)),this.records.set(vp,fr(void 0,this)),o.has("environment")&&this.records.set(Mt,fr(void 0,this));const i=this.records.get(zu);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Dp.multi,G,j.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=en(this),r=je(void 0);try{return t()}finally{en(n),je(r)}}get(t,n=$r,r=j.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(af))return t[af](this);r=pi(r);const i=en(this),s=je(void 0);try{if(!(r&j.SkipSelf)){let u=this.records.get(t);if(void 0===u){const l=function gb(e){return"function"==typeof e||"object"==typeof e&&e instanceof b}(t)&&ci(t);u=l&&this.injectableDefInScope(l)?fr(Wu(t),Qi):null,this.records.set(t,u)}if(null!=u)return this.hydrate(t,u)}return(r&j.Self?Xi():this.parent).get(t,n=r&j.Optional&&n===$r?null:n)}catch(a){if("NullInjectorError"===a.name){if((a[hi]=a[hi]||[]).unshift(pe(t)),i)throw a;return function cC(e,t,n,r){const o=e[hi];throw t[nf]&&o.unshift(t[nf]),e.message=function dC(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=pe(t);if(Array.isArray(t))o=t.map(pe).join(" -> ");else if("object"==typeof t){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+("string"==typeof a?JSON.stringify(a):pe(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(iC,"\n  ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[hi]=null,e}(a,t,"R3InjectorError",this.source)}throw a}finally{je(s),en(i)}}resolveInjectorInitializers(){const t=en(this),n=je(void 0);try{const o=this.get(Zi.multi,G,j.Self);for(const i of o)i()}finally{en(t),je(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(pe(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new C(205,!1)}processProvider(t){let n=Sn(t=A(t))?t:A(t&&t.provide);const r=function fb(e){return Gu(e)?fr(void 0,e.useValue):fr(bp(e),Qi)}(t);if(Sn(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=fr(void 0,Qi,!0),o.factory=()=>Va(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===Qi&&(n.value=cb,n.value=n.factory()),"object"==typeof n.value&&n.value&&function pb(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=A(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function Wu(e){const t=ci(e),n=null!==t?t.factory:wn(e);if(null!==n)return n;if(e instanceof b)throw new C(204,!1);if(e instanceof Function)return function db(e){const t=e.length;if(t>0)throw function ao(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}(t,"?"),new C(204,!1);const n=function tC(e){return e&&(e[fi]||e[Jd])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new C(204,!1)}function bp(e,t,n){let r;if(Sn(e)){const o=A(e);return wn(o)||Wu(o)}if(Gu(e))r=()=>A(e.useValue);else if(function wp(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Va(e.deps||[]));else if(function Ep(e){return!(!e||!e.useExisting)}(e))r=()=>F(A(e.useExisting));else{const o=A(e&&(e.useClass||e.provide));if(!function hb(e){return!!e.deps}(e))return wn(o)||Wu(o);r=()=>new o(...Va(e.deps))}return r}function fr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Zu(e,t){for(const n of e)Array.isArray(n)?Zu(n,t):n&&Ta(n)?Zu(n.\u0275providers,t):t(n)}const Ji=new b("AppId",{providedIn:"root",factory:()=>mb}),mb="ng",Mp=new b("Platform Initializer"),An=new b("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Ip=new b("CSP nonce",{providedIn:"root",factory:()=>function lr(){if(void 0!==Fu)return Fu;if(typeof document<"u")return document;throw new C(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Sp=(e,t,n)=>null;function nl(e,t,n=!1){return Sp(e,t,n)}class Ib{}class Np{}class Ab{resolveComponentFactory(t){throw function Sb(e){const t=Error(`No component factory found for ${pe(e)}.`);return t.ngComponent=e,t}(t)}}let os=(()=>{class e{static#e=this.NULL=new Ab}return e})();function Tb(){return gr(Ee(),v())}function gr(e,t){return new ct($e(e,t))}let ct=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=Tb}return e})();class Op{}let Tn=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function xb(){const e=v(),n=Ye(Ee().index,e);return(He(n)?n:e)[N]}()}return e})(),Ob=(()=>{class e{static#e=this.\u0275prov=B({token:e,providedIn:"root",factory:()=>null})}return e})();class is{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Pb=new is("16.2.12"),il={};function kp(e,t=null,n=null,r){const o=Lp(e,t,n,r);return o.resolveInjectorInitializers(),o}function Lp(e,t=null,n=null,r,o=new Set){const i=[n||G,ab(e)];return r=r||("object"==typeof e?void 0:pe(e)),new dr(i,t||Xi(),r||null,o)}let dt=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=$r;static#t=this.NULL=new Hu;static create(n,r){if(Array.isArray(n))return kp({name:""},r,n,"");{const o=n.name??"";return kp({name:o},n.parent,n.providers,o)}}static#n=this.\u0275prov=B({token:e,providedIn:"any",factory:()=>F(vp)});static#r=this.__NG_ELEMENT_ID__=-1}return e})();function al(e){return e.ngOriginalError}class Gt{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&al(t);for(;n&&al(n);)n=al(n);return n||null}}function ll(e){return t=>{setTimeout(e,void 0,t)}}const Se=class Bb extends ii{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&"object"==typeof t){const u=t;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=ll(i),o&&(o=ll(o)),s&&(s=ll(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof mt&&t.add(a),a}};function jp(...e){}class ue{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Se(!1),this.onMicrotaskEmpty=new Se(!1),this.onStable=new Se(!1),this.onError=new Se(!1),typeof Zone>"u")throw new C(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function Hb(){const e="function"==typeof J.requestAnimationFrame;let t=J[e?"requestAnimationFrame":"setTimeout"],n=J[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function Gb(e){const t=()=>{!function Ub(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(J,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,dl(e),e.isCheckStableRunning=!0,cl(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),dl(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(function qb(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return n.invokeTask(o,i,s,a);try{return Bp(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),Hp(e)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return Bp(e),n.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),Hp(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,dl(e),cl(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!ue.isInAngularZone())throw new C(909,!1)}static assertNotInAngularZone(){if(ue.isInAngularZone())throw new C(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,$b,jp,jp);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const $b={};function cl(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function dl(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Bp(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Hp(e){e._nesting--,cl(e)}class zb{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Se,this.onMicrotaskEmpty=new Se,this.onStable=new Se,this.onError=new Se}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}}const $p=new b("",{providedIn:"root",factory:Up});function Up(){const e=U(ue);let t=!0;return function z0(...e){const t=Gd(e),n=function V0(e,t){return"number"==typeof ba(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?yt(r[0]):function F0(e=1/0){return si(Da,e)}(n)(ai(r,t)):Ud}(new we(o=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{o.next(t),o.complete()})}),new we(o=>{let i;e.runOutsideAngular(()=>{i=e.onStable.subscribe(()=>{ue.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,o.next(!0))})})});const s=e.onUnstable.subscribe(()=>{ue.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{o.next(!1)}))});return()=>{i.unsubscribe(),s.unsubscribe()}}).pipe(Zd()))}let fl=(()=>{class e{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}static#e=this.\u0275prov=B({token:e,providedIn:"root",factory:()=>new e})}return e})();function Do(e){for(;e;){e[P]|=64;const t=co(e);if(Ga(e)&&!t)return e;e=t}return null}const Zp=new b("",{providedIn:"root",factory:()=>!1});let as=null;function Jp(e,t){return e[t]??tg()}function Kp(e,t){const n=tg();n.producerNode?.length&&(e[t]=as,n.lView=e,as=eg())}const nM={...Mf,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Do(e.lView)},lView:null};function eg(){return Object.create(nM)}function tg(){return as??=eg(),as}const O={};function Xe(e){ng($(),v(),Pe()+e,!1)}function ng(e,t,n,r){if(!r)if(3==(3&t[P])){const i=e.preOrderCheckHooks;null!==i&&Mi(t,i,n)}else{const i=e.preOrderHooks;null!==i&&Ii(t,i,0,n)}bn(n)}function _(e,t=j.Default){const n=v();return null===n?F(e,t):yh(Ee(),n,A(e),t)}function us(e,t,n,r,o,i,s,a,u,l,c){const d=t.blueprint.slice();return d[ae]=o,d[P]=140|r,(null!==l||e&&2048&e[P])&&(d[P]|=2048),zf(d),d[oe]=d[$n]=e,d[ce]=n,d[Hn]=s||e&&e[Hn],d[N]=a||e&&e[N],d[tn]=u||e&&e[tn]||null,d[be]=i,d[Qr]=function uw(){return aw++}(),d[jt]=c,d[Cf]=l,d[de]=2==t.type?e[de]:d,d}function vr(e,t,n,r,o){let i=e.data[t];if(null===i)i=function hl(e,t,n,r,o){const i=Xf(),s=Ja(),u=e.data[t]=function dM(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return function Wn(){return null!==S.skipHydrationRootTNode}()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?i:i&&i.parent,n,t,r,o);return null===e.firstChild&&(e.firstChild=u),null!==i&&(s?null==i.child&&null!==u.parent&&(i.child=u):null===i.next&&(i.next=u,u.prev=i)),u}(e,t,n,r,o),function uE(){return S.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=n,i.value=r,i.attrs=o;const s=function to(){const e=S.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return wt(i,!0),i}function _o(e,t,n,r){if(0===n)return-1;const o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function rg(e,t,n,r,o){const i=Jp(t,Xr),s=Pe(),a=2&r;try{bn(-1),a&&t.length>L&&ng(e,t,L,!1),Et(a?2:0,o);const l=a?i:null,c=qa(l);try{null!==l&&(l.dirty=!1),n(r,o)}finally{Wa(l,c)}}finally{a&&null===t[Xr]&&Kp(t,Xr),bn(s),Et(a?3:1,o)}}function pl(e,t,n){if(Ua(t)){const r=tt(null);try{const i=t.directiveEnd;for(let s=t.directiveStart;s<i;s++){const a=e.data[s];a.contentQueries&&a.contentQueries(1,n[s],s)}}finally{tt(r)}}}function gl(e,t,n){Qf()&&(function vM(e,t,n,r){const o=n.directiveStart,i=n.directiveEnd;En(n)&&function MM(e,t,n){const r=$e(t,e),o=og(n);let s=16;n.signals?s=4096:n.onPush&&(s=64);const a=ls(e,us(e,o,null,s,r,t,null,e[Hn].rendererFactory.createRenderer(r,n),null,null,null));e[t.index]=a}(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||Ai(n,t),Ie(r,t);const s=n.initialInputs;for(let a=o;a<i;a++){const u=e.data[a],l=Mn(t,e,a,n);Ie(l,t),null!==s&&IM(0,a-o,l,u,0,s),lt(u)&&(Ye(n.index,t)[ce]=Mn(t,e,a,n))}}(e,t,n,$e(n,t)),64==(64&n.flags)&&lg(e,t,n))}function ml(e,t,n=$e){const r=t.localNames;if(null!==r){let o=t.index+1;for(let i=0;i<r.length;i+=2){const s=r[i+1],a=-1===s?n(t,e):e[s];e[o++]=a}}}function og(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=yl(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function yl(e,t,n,r,o,i,s,a,u,l,c){const d=L+r,f=d+o,h=function iM(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:O);return n}(d,f),p="function"==typeof l?l():l;return h[E]={type:e,blueprint:h,template:n,queries:null,viewQuery:a,declTNode:t,data:h.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:f,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof i?i():i,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:u,consts:p,incompleteFirstPass:!1,ssrId:c}}let ig=e=>null;function sg(e,t,n,r){for(let o in e)if(e.hasOwnProperty(o)){n=null===n?{}:n;const i=e[o];null===r?ag(n,t,o,i):r.hasOwnProperty(o)&&ag(n,t,r[o],i)}return n}function ag(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function Je(e,t,n,r,o,i,s,a){const u=$e(t,n);let c,l=t.inputs;!a&&null!=l&&(c=l[r])?(El(e,n,c,r,o),En(t)&&function pM(e,t){const n=Ye(t,e);16&n[P]||(n[P]|=64)}(n,t.index)):3&t.type&&(r=function hM(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=s?s(o,t.value||"",r):o,i.setProperty(u,r,o))}function vl(e,t,n,r){if(Qf()){const o=null===r?null:{"":-1},i=function _M(e,t){const n=e.directiveRegistry;let r=null,o=null;if(n)for(let i=0;i<n.length;i++){const s=n[i];if(pf(t,s.selectors,!1))if(r||(r=[]),lt(s))if(null!==s.findHostDirectiveDefs){const a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),r.unshift(...a,s),Dl(e,t,a.length)}else r.unshift(s),Dl(e,t,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,r,o),r.push(s)}return null===r?null:[r,o]}(e,n);let s,a;null===i?s=a=null:[s,a]=i,null!==s&&ug(e,t,n,s,o,a),o&&function CM(e,t,n){if(t){const r=e.localNames=[];for(let o=0;o<t.length;o+=2){const i=n[t[o+1]];if(null==i)throw new C(-301,!1);r.push(t[o],i)}}}(n,r,o)}n.mergedAttrs=zr(n.mergedAttrs,n.attrs)}function ug(e,t,n,r,o,i){for(let l=0;l<r.length;l++)cu(Ai(n,t),e,r[l].type);!function wM(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,r.length);for(let l=0;l<r.length;l++){const c=r[l];c.providersResolver&&c.providersResolver(c)}let s=!1,a=!1,u=_o(e,t,r.length,null);for(let l=0;l<r.length;l++){const c=r[l];n.mergedAttrs=zr(n.mergedAttrs,c.hostAttrs),bM(e,n,t,u,c),EM(u,c,o),null!==c.contentQueries&&(n.flags|=4),(null!==c.hostBindings||null!==c.hostAttrs||0!==c.hostVars)&&(n.flags|=64);const d=c.type.prototype;!s&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),a=!0),u++}!function fM(e,t,n){const o=t.directiveEnd,i=e.data,s=t.attrs,a=[];let u=null,l=null;for(let c=t.directiveStart;c<o;c++){const d=i[c],f=n?n.get(d):null,p=f?f.outputs:null;u=sg(d.inputs,c,u,f?f.inputs:null),l=sg(d.outputs,c,l,p);const g=null===u||null===s||hf(t)?null:SM(u,c,s);a.push(g)}null!==u&&(u.hasOwnProperty("class")&&(t.flags|=8),u.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=a,t.inputs=u,t.outputs=l}(e,n,i)}function lg(e,t,n){const r=n.directiveStart,o=n.directiveEnd,i=n.index,s=function cE(){return S.lFrame.currentDirectiveIndex}();try{bn(i);for(let a=r;a<o;a++){const u=e.data[a],l=t[a];eu(a),(null!==u.hostBindings||0!==u.hostVars||null!==u.hostAttrs)&&DM(u,l)}}finally{bn(-1),eu(s)}}function DM(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Dl(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function EM(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;lt(t)&&(n[""]=e)}}function bM(e,t,n,r,o){e.data[r]=o;const i=o.factory||(o.factory=wn(o.type)),s=new no(i,lt(o),_);e.blueprint[r]=s,n[r]=s,function mM(e,t,n,r,o){const i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;null===s&&(s=e.hostBindingOpCodes=[]);const a=~t.index;(function yM(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=a&&s.push(a),s.push(n,r,i)}}(e,t,r,_o(e,n,o.hostVars,O),o)}function IM(e,t,n,r,o,i){const s=i[t];if(null!==s)for(let a=0;a<s.length;)cg(r,n,s[a++],s[a++],s[a++])}function cg(e,t,n,r,o){const i=tt(null);try{const s=e.inputTransforms;null!==s&&s.hasOwnProperty(r)&&(o=s[r].call(t,o)),null!==e.setInput?e.setInput(t,o,n,r):t[r]=o}finally{tt(i)}}function SM(e,t,n){let r=null,o=0;for(;o<n.length;){const i=n[o];if(0!==i)if(5!==i){if("number"==typeof i)break;if(e.hasOwnProperty(i)){null===r&&(r=[]);const s=e[i];for(let a=0;a<s.length;a+=2)if(s[a]===t){r.push(i,s[a+1],n[o+1]);break}}o+=2}else o+=2;else o+=4}return r}function dg(e,t,n,r){return[e,!0,!1,t,null,0,r,n,null,null,null]}function fg(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const i=n[r+1];if(-1!==i){const s=e.data[i];nu(n[r]),s.contentQueries(2,t[i],i)}}}function ls(e,t){return e[Zr]?e[_f][ut]=t:e[Zr]=t,e[_f]=t,t}function Cl(e,t,n){nu(0);const r=tt(null);try{t(e,n)}finally{tt(r)}}function mg(e,t){const n=e[tn],r=n?n.get(Gt,null):null;r&&r.handleError(t)}function El(e,t,n,r,o){for(let i=0;i<n.length;){const s=n[i++],a=n[i++];cg(e.data[s],t[s],r,a,o)}}function qt(e,t,n){const r=Ei(t,e);!function Wh(e,t,n){e.setValue(t,n)}(e[N],r,n)}function AM(e,t){const n=Ye(t,e),r=n[E];!function TM(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n);const o=n[ae];null!==o&&null===n[jt]&&(n[jt]=nl(o,n[tn])),wl(r,n,n[ce])}function wl(e,t,n){ru(t);try{const r=e.viewQuery;null!==r&&Cl(1,r,n);const o=e.template;null!==o&&rg(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&fg(e,t),e.staticViewQueries&&Cl(2,e.viewQuery,n);const i=e.components;null!==i&&function NM(e,t){for(let n=0;n<t.length;n++)AM(e,t[n])}(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[P]&=-5,ou()}}let yg=(()=>{class e{constructor(){this.all=new Set,this.queue=new Map}create(n,r,o){const i=typeof Zone>"u"?null:Zone.current,s=function BC(e,t,n){const r=Object.create(HC);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;const o=s=>{r.cleanupFn=s};return r.ref={notify:()=>Tf(r),run:()=>{if(r.dirty=!1,r.hasRun&&!Nf(r))return;r.hasRun=!0;const s=qa(r);try{r.cleanupFn(),r.cleanupFn=Vf,r.fn(o)}finally{Wa(r,s)}},cleanup:()=>r.cleanupFn()},r.ref}(n,l=>{this.all.has(l)&&this.queue.set(l,i)},o);let a;this.all.add(s),s.notify();const u=()=>{s.cleanup(),a?.(),this.all.delete(s),this.queue.delete(s)};return a=r?.onDestroy(u),{destroy:u}}flush(){if(0!==this.queue.size)for(const[n,r]of this.queue)this.queue.delete(n),r?r.run(()=>n.run()):n.run()}get isQueueEmpty(){return 0===this.queue.size}static#e=this.\u0275prov=B({token:e,providedIn:"root",factory:()=>new e})}return e})();function cs(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(null!==t)for(let s=0;s<t.length;s++){const a=t[s];"number"==typeof a?i=a:1==i?o=Sa(o,a):2==i&&(r=Sa(r,a+": "+t[++s]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function Co(e,t,n,r,o=!1){for(;null!==n;){const i=t[n.index];null!==i&&r.push(K(i)),xe(i)&&vg(i,r);const s=n.type;if(8&s)Co(e,t,n.child,r);else if(32&s){const a=Mu(n,t);let u;for(;u=a();)r.push(u)}else if(16&s){const a=np(t,n);if(Array.isArray(a))r.push(...a);else{const u=co(t[de]);Co(u[E],u,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function vg(e,t){for(let n=_e;n<e.length;n++){const r=e[n],o=r[E].firstChild;null!==o&&Co(r[E],r,o,t)}e[Ct]!==e[ae]&&t.push(e[Ct])}function ds(e,t,n,r=!0){const o=t[Hn],i=o.rendererFactory,s=o.afterRenderEventManager;i.begin?.(),s?.begin();try{Dg(e,t,e.template,n)}catch(u){throw r&&mg(t,u),u}finally{i.end?.(),o.effectManager?.flush(),s?.end()}}function Dg(e,t,n,r){const o=t[P];if(256!=(256&o)){t[Hn].effectManager?.flush(),ru(t);try{zf(t),function Kf(e){return S.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&rg(e,t,n,2,r);const s=3==(3&o);if(s){const l=e.preOrderCheckHooks;null!==l&&Mi(t,l,null)}else{const l=e.preOrderHooks;null!==l&&Ii(t,l,0,null),iu(t,0)}if(function PM(e){for(let t=Gh(e);null!==t;t=zh(t)){if(!t[Ef])continue;const n=t[Gn];for(let r=0;r<n.length;r++){XC(n[r])}}}(t),_g(t,2),null!==e.contentQueries&&fg(e,t),s){const l=e.contentCheckHooks;null!==l&&Mi(t,l)}else{const l=e.contentHooks;null!==l&&Ii(t,l,1),iu(t,1)}!function oM(e,t){const n=e.hostBindingOpCodes;if(null===n)return;const r=Jp(t,Jr);try{for(let o=0;o<n.length;o++){const i=n[o];if(i<0)bn(~i);else{const s=i,a=n[++o],u=n[++o];lE(a,s),r.dirty=!1;const l=qa(r);try{u(2,t[s])}finally{Wa(r,l)}}}}finally{null===t[Jr]&&Kp(t,Jr),bn(-1)}}(e,t);const a=e.components;null!==a&&Eg(t,a,0);const u=e.viewQuery;if(null!==u&&Cl(2,u,r),s){const l=e.viewCheckHooks;null!==l&&Mi(t,l)}else{const l=e.viewHooks;null!==l&&Ii(t,l,2),iu(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[P]&=-73,qf(t)}finally{ou()}}}function _g(e,t){for(let n=Gh(e);null!==n;n=zh(n))for(let r=_e;r<n.length;r++)Cg(n[r],t)}function FM(e,t,n){Cg(Ye(t,e),n)}function Cg(e,t){if(!function YC(e){return 128==(128&e[P])}(e))return;const n=e[E],r=e[P];if(80&r&&0===t||1024&r||2===t)Dg(n,e,n.template,e[ce]);else if(e[Wr]>0){_g(e,1);const o=n.components;null!==o&&Eg(e,o,1)}}function Eg(e,t,n){for(let r=0;r<t.length;r++)FM(e,t[r],n)}class Eo{get rootNodes(){const t=this._lView,n=t[E];return Co(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[ce]}set context(t){this._lView[ce]=t}get destroyed(){return 256==(256&this._lView[P])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[oe];if(xe(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(Hi(t,r),xi(n,r))}this._attachedToViewContainer=!1}Su(this._lView[E],this._lView)}onDestroy(t){!function Zf(e,t){if(256==(256&e[P]))throw new C(911,!1);null===e[nn]&&(e[nn]=[]),e[nn].push(t)}(this._lView,t)}markForCheck(){Do(this._cdRefInjectingView||this._lView)}detach(){this._lView[P]&=-129}reattach(){this._lView[P]|=128}detectChanges(){ds(this._lView[E],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new C(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Ew(e,t){ho(e,t,t[N],2,null,null)}(this._lView[E],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new C(902,!1);this._appRef=t}}class RM extends Eo{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;ds(t[E],t,t[ce],!1)}checkNoChanges(){}get context(){return null}}class wg extends os{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=H(t);return new wo(n,this.ngModule)}}function bg(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class LM{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=pi(r);const o=this.injector.get(t,il,r);return o!==il||n===il?o:this.parentInjector.get(t,n,r)}}class wo extends Np{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=bg(t.inputs);if(null!==n)for(const o of r)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return r}get outputs(){return bg(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function CC(e){return e.map(_C).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=(o=o||this.ngModule)instanceof Mt?o:o?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const s=i?new LM(t,i):t,a=s.get(Op,null);if(null===a)throw new C(407,!1);const d={rendererFactory:a,sanitizer:s.get(Ob,null),effectManager:s.get(yg,null),afterRenderEventManager:s.get(fl,null)},f=a.createRenderer(null,this.componentDef),h=this.componentDef.selectors[0][0]||"div",p=r?function sM(e,t,n,r){const i=r.get(Zp,!1)||n===st.ShadowDom,s=e.selectRootElement(t,i);return function aM(e){ig(e)}(s),s}(f,r,this.componentDef.encapsulation,s):Bi(f,h,function kM(e){const t=e.toLowerCase();return"svg"===t?$f:"math"===t?"math":null}(h)),D=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let m=null;null!==p&&(m=nl(p,s,!0));const w=yl(0,null,null,1,0,null,null,null,null,null,null),M=us(null,w,null,D,null,null,d,f,s,null,m);let k,ve;ru(M);try{const Pt=this.componentDef;let Vn,_d=null;Pt.findHostDirectiveDefs?(Vn=[],_d=new Map,Pt.findHostDirectiveDefs(Pt,Vn,_d),Vn.push(Pt)):Vn=[Pt];const uF=function jM(e,t){const n=e[E],r=L;return e[r]=t,vr(n,r,2,"#host",null)}(M,p),lF=function BM(e,t,n,r,o,i,s){const a=o[E];!function HM(e,t,n,r){for(const o of e)t.mergedAttrs=zr(t.mergedAttrs,o.hostAttrs);null!==t.mergedAttrs&&(cs(t,t.mergedAttrs,!0),null!==n&&sp(r,n,t))}(r,e,t,s);let u=null;null!==t&&(u=nl(t,o[tn]));const l=i.rendererFactory.createRenderer(t,n);let c=16;n.signals?c=4096:n.onPush&&(c=64);const d=us(o,og(n),null,c,o[e.index],e,i,l,null,null,u);return a.firstCreatePass&&Dl(a,e,r.length-1),ls(o,d),o[e.index]=d}(uF,p,Pt,Vn,M,d,f);ve=Gf(w,L),p&&function UM(e,t,n,r){if(r)Ha(e,n,["ng-version",Pb.full]);else{const{attrs:o,classes:i}=function EC(e){const t=[],n=[];let r=1,o=2;for(;r<e.length;){let i=e[r];if("string"==typeof i)2===o?""!==i&&t.push(i,e[++r]):8===o&&n.push(i);else{if(!at(o))break;o=i}r++}return{attrs:t,classes:n}}(t.selectors[0]);o&&Ha(e,n,o),i&&i.length>0&&ip(e,n,i.join(" "))}}(f,Pt,p,r),void 0!==n&&function GM(e,t,n){const r=e.projection=[];for(let o=0;o<t.length;o++){const i=n[o];r.push(null!=i?Array.from(i):null)}}(ve,this.ngContentSelectors,n),k=function $M(e,t,n,r,o,i){const s=Ee(),a=o[E],u=$e(s,o);ug(a,o,s,n,null,r);for(let c=0;c<n.length;c++)Ie(Mn(o,a,s.directiveStart+c,s),o);lg(a,o,s),u&&Ie(u,o);const l=Mn(o,a,s.directiveStart+s.componentOffset,s);if(e[ce]=o[ce]=l,null!==i)for(const c of i)c(l,t);return pl(a,s,e),l}(lF,Pt,Vn,_d,M,[zM]),wl(w,M,null)}finally{ou()}return new VM(this.componentType,k,gr(ve,M),M,ve)}}class VM extends Ib{constructor(t,n,r,o,i){super(),this.location=r,this._rootLView=o,this._tNode=i,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new RM(o),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let o;if(null!==r&&(o=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const i=this._rootLView;El(i[E],i,o,t,n),this.previousInputValues.set(t,n),Do(Ye(this._tNode.index,i))}}get injector(){return new Fe(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function zM(){const e=Ee();bi(v()[E],e)}function Y(e){let t=function Mg(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let o;if(lt(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new C(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);const s=e;s.inputs=fs(e.inputs),s.inputTransforms=fs(e.inputTransforms),s.declaredInputs=fs(e.declaredInputs),s.outputs=fs(e.outputs);const a=o.hostBindings;a&&YM(e,a);const u=o.viewQuery,l=o.contentQueries;if(u&&WM(e,u),l&&ZM(e,l),ui(e.inputs,o.inputs),ui(e.declaredInputs,o.declaredInputs),ui(e.outputs,o.outputs),null!==o.inputTransforms&&(null===s.inputTransforms&&(s.inputTransforms={}),ui(s.inputTransforms,o.inputTransforms)),lt(o)&&o.data.animation){const c=e.data;c.animation=(c.animation||[]).concat(o.data.animation)}}const i=o.features;if(i)for(let s=0;s<i.length;s++){const a=i[s];a&&a.ngInherit&&a(e),a===Y&&(n=!1)}}t=Object.getPrototypeOf(t)}!function qM(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=zr(o.hostAttrs,n=zr(n,o.hostAttrs))}}(r)}function fs(e){return e===Dt?{}:e===G?[]:e}function WM(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function ZM(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,i)=>{t(r,o,i),n(r,o,i)}:t}function YM(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}function hs(e){return!!function bl(e){return null!==e&&("function"==typeof e||"object"==typeof e)}(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Ae(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function _r(e,t,n,r){return Ae(e,Qn(),n)?t+T(n)+r:O}function Cr(e,t,n,r,o,i){const a=function Nn(e,t,n,r){const o=Ae(e,t,n);return Ae(e,t+1,r)||o}(e,function Ht(){return S.lFrame.bindingIndex}(),n,o);return $t(2),a?t+T(n)+r+T(o)+i:O}let $g=function Ug(e,t,n,r){return sn(!0),t[N].createComment("")};function Ar(e){return function qn(e,t){return e[t]}(function aE(){return S.lFrame.contextLView}(),L+e)}function Ao(e,t,n){const r=v();return Ae(r,Qn(),t)&&Je($(),se(),r,e,t,r[N],n,!1),Ao}function Nl(e,t,n,r,o){const s=o?"class":"style";El(e,n,t.inputs[s],s,r)}function R(e,t,n,r){const o=v(),i=$(),s=L+e,a=o[N],u=i.firstCreatePass?function MI(e,t,n,r,o,i){const s=t.consts,u=vr(t,e,2,r,on(s,o));return vl(t,n,u,on(s,i)),null!==u.attrs&&cs(u,u.attrs,!1),null!==u.mergedAttrs&&cs(u,u.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,u),u}(s,i,o,t,n,r):i.data[s],l=Gg(i,o,u,a,t,e);o[s]=l;const c=Di(u);return wt(u,!0),sp(a,l,u),32!=(32&u.flags)&&wi()&&Ui(i,o,l,u),0===function KC(){return S.lFrame.elementDepthCount}()&&Ie(l,o),function eE(){S.lFrame.elementDepthCount++}(),c&&(gl(i,o,u),pl(i,u,o)),null!==r&&ml(o,u),R}function V(){let e=Ee();Ja()?function Ka(){S.lFrame.isParent=!1}():(e=e.parent,wt(e,!1));const t=e;(function nE(e){return S.skipHydrationRootTNode===e})(t)&&function sE(){S.skipHydrationRootTNode=null}(),function tE(){S.lFrame.elementDepthCount--}();const n=$();return n.firstCreatePass&&(bi(n,e),Ua(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function _E(e){return 0!=(8&e.flags)}(t)&&Nl(n,t,v(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function CE(e){return 0!=(16&e.flags)}(t)&&Nl(n,t,v(),t.stylesWithoutHost,!1),V}function Ge(e,t,n,r){return R(e,t,n,r),V(),Ge}let Gg=(e,t,n,r,o,i)=>(sn(!0),Bi(r,o,function uh(){return S.lFrame.currentNamespace}()));function Pl(){return v()}function vs(e){return!!e&&"function"==typeof e.then}function Wg(e){return!!e&&"function"==typeof e.subscribe}function ye(e,t,n,r){const o=v(),i=$(),s=Ee();return function Yg(e,t,n,r,o,i,s){const a=Di(r),l=e.firstCreatePass&&function pg(e){return e.cleanup||(e.cleanup=[])}(e),c=t[ce],d=function hg(e){return e[Bn]||(e[Bn]=[])}(t);let f=!0;if(3&r.type||s){const g=$e(r,t),y=s?s(g):g,D=d.length,m=s?M=>s(K(M[r.index])):r.index;let w=null;if(!s&&a&&(w=function xI(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;i<o.length-1;i+=2){const s=o[i];if(s===n&&o[i+1]===r){const a=t[Bn],u=o[i+2];return a.length>u?a[u]:null}"string"==typeof s&&(i+=2)}return null}(e,t,o,r.index)),null!==w)(w.__ngLastListenerFn__||w).__ngNextListenerFn__=i,w.__ngLastListenerFn__=i,f=!1;else{i=Xg(r,t,c,i,!1);const M=n.listen(y,o,i);d.push(i,M),l&&l.push(o,m,D,D+1)}}else i=Xg(r,t,c,i,!1);const h=r.outputs;let p;if(f&&null!==h&&(p=h[o])){const g=p.length;if(g)for(let y=0;y<g;y+=2){const k=t[p[y]][p[y+1]].subscribe(i),ve=d.length;d.push(i,k),l&&l.push(o,r.index,ve,-(ve+1))}}}(i,o,o[N],s,e,t,r),ye}function Qg(e,t,n,r){try{return Et(6,t,n),!1!==n(r)}catch(o){return mg(e,o),!1}finally{Et(7,t,n)}}function Xg(e,t,n,r,o){return function i(s){if(s===Function)return r;Do(e.componentOffset>-1?Ye(e.index,t):t);let u=Qg(t,n,r,s),l=i.__ngNextListenerFn__;for(;l;)u=Qg(t,n,l,s)&&u,l=l.__ngNextListenerFn__;return o&&!1===u&&s.preventDefault(),u}}function Fl(e=1){return function fE(e){return(S.lFrame.contextLView=function hE(e,t){for(;e>0;)t=t[$n],e--;return t}(e,S.lFrame.contextLView))[ce]}(e)}function Rl(e,t,n){return kl(e,"",t,"",n),Rl}function kl(e,t,n,r,o){const i=v(),s=_r(i,t,n,r);return s!==O&&Je($(),se(),i,e,s,i[N],o,!1),kl}function Ds(e,t){return e<<17|t<<2}function ln(e){return e>>17&32767}function Ll(e){return 2|e}function xn(e){return(131068&e)>>2}function Vl(e,t){return-131069&e|t<<2}function jl(e){return 1|e}function sm(e,t,n,r,o){const i=e[n+1],s=null===t;let a=r?ln(i):xn(i),u=!1;for(;0!==a&&(!1===u||s);){const c=e[a+1];BI(e[a],t)&&(u=!0,e[a+1]=r?jl(c):Ll(c)),a=r?ln(c):xn(c)}u&&(e[n+1]=r?Ll(i):jl(i))}function BI(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&or(e,t)>=0}const me={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function am(e){return e.substring(me.key,me.keyEnd)}function um(e,t){const n=me.textEnd;return n===t?-1:(t=me.keyEnd=function GI(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,me.key=t,n),Tr(e,t,n))}function Tr(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function _s(e,t){return function ft(e,t,n,r){const o=v(),i=$(),s=$t(2);i.firstUpdatePass&&gm(i,e,s,r),t!==O&&Ae(o,s,t)&&ym(i,i.data[Pe()],o,o[N],e,o[s+1]=function tS(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=pe(un(e)))),e}(t,n),r,s)}(e,t,null,!0),_s}function Cs(e){!function ht(e,t,n,r){const o=$(),i=$t(2);o.firstUpdatePass&&gm(o,null,i,r);const s=v();if(n!==O&&Ae(s,i,n)){const a=o.data[Pe()];if(Dm(a,r)&&!pm(o,i)){let u=r?a.classesWithoutHost:a.stylesWithoutHost;null!==u&&(n=Sa(u,n||"")),Nl(o,a,s,n,r)}else!function eS(e,t,n,r,o,i,s,a){o===O&&(o=G);let u=0,l=0,c=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;null!==c||null!==d;){const f=u<o.length?o[u+1]:void 0,h=l<i.length?i[l+1]:void 0;let g,p=null;c===d?(u+=2,l+=2,f!==h&&(p=d,g=h)):null===d||null!==c&&c<d?(u+=2,p=c):(l+=2,p=d,g=h),null!==p&&ym(e,t,n,r,p,g,s,a),c=u<o.length?o[u]:null,d=l<i.length?i[l]:null}}(o,a,s,s[N],s[i+1],s[i+1]=function JI(e,t,n){if(null==n||""===n)return G;const r=[],o=un(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if("object"==typeof o)for(const i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else"string"==typeof o&&t(r,o);return r}(e,t,n),r,i)}}(KI,Tt,e,!0)}function Tt(e,t){for(let n=function $I(e){return function cm(e){me.key=0,me.keyEnd=0,me.value=0,me.valueEnd=0,me.textEnd=e.length}(e),um(e,Tr(e,0,me.textEnd))}(t);n>=0;n=um(t,n))Qe(e,am(t),!0)}function pm(e,t){return t>=e.expandoStartIndex}function gm(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[Pe()],s=pm(e,n);Dm(i,r)&&null===t&&!s&&(t=!1),t=function ZI(e,t,n,r){const o=function tu(e){const t=S.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let i=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=To(n=Bl(null,e,t,n,r),t.attrs,r),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=Bl(o,e,t,n,r),null===i){let u=function YI(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==xn(r))return e[ln(r)]}(e,t,r);void 0!==u&&Array.isArray(u)&&(u=Bl(null,e,t,u[1],r),u=To(u,t.attrs,r),function QI(e,t,n,r){e[ln(n?t.classBindings:t.styleBindings)]=r}(e,t,r,u))}else i=function XI(e,t,n){let r;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++)r=To(r,e[i].hostAttrs,n);return To(r,t.attrs,n)}(e,t,r)}return void 0!==i&&(r?t.residualClasses=i:t.residualStyles=i),n}(o,i,t,r),function VI(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=ln(s),u=xn(s);e[r]=n;let c,l=!1;if(Array.isArray(n)?(c=n[1],(null===c||or(n,c)>0)&&(l=!0)):c=n,o)if(0!==u){const f=ln(e[a+1]);e[r+1]=Ds(f,a),0!==f&&(e[f+1]=Vl(e[f+1],r)),e[a+1]=function kI(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=Ds(a,0),0!==a&&(e[a+1]=Vl(e[a+1],r)),a=r;else e[r+1]=Ds(u,0),0===a?a=r:e[u+1]=Vl(e[u+1],r),u=r;l&&(e[r+1]=Ll(e[r+1])),sm(e,c,r,!0),sm(e,c,r,!1),function jI(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&or(i,t)>=0&&(n[r+1]=jl(n[r+1]))}(t,c,e,r,i),s=Ds(a,u),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}function Bl(e,t,n,r,o){let i=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<s&&(i=t[a],r=To(r,i.hostAttrs,o),i!==e);)a++;return null!==e&&(n.directiveStylingLast=a),r}function To(e,t,n){const r=n?1:2;let o=-1;if(null!==t)for(let i=0;i<t.length;i++){const s=t[i];"number"==typeof s?o=s:o===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Qe(e,s,!!n||t[++i]))}return void 0===e?null:e}function KI(e,t,n){const r=String(t);""!==r&&!r.includes(" ")&&Qe(e,r,n)}function ym(e,t,n,r,o,i,s,a){if(!(3&t.type))return;const u=e.data,l=u[a+1],c=function LI(e){return 1==(1&e)}(l)?vm(u,t,n,o,xn(l),s):void 0;Es(c)||(Es(i)||function RI(e){return 2==(2&e)}(l)&&(i=vm(u,null,n,o,a,s)),function Ow(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=-1===r.indexOf("-")?void 0:an.DashCase;null==o?e.removeStyle(n,r,i):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=an.Important),e.setStyle(n,r,o,i))}}(r,s,Ei(Pe(),n),o,i))}function vm(e,t,n,r,o,i){const s=null===t;let a;for(;o>0;){const u=e[o],l=Array.isArray(u),c=l?u[1]:u,d=null===c;let f=n[o+1];f===O&&(f=d?G:void 0);let h=d?pu(f,r):c===r?f:void 0;if(l&&!Es(h)&&(h=pu(u,r)),Es(h)&&(a=h,s))return a;const p=e[o+1];o=s?ln(p):xn(p)}if(null!==t){let u=i?t.residualClasses:t.residualStyles;null!=u&&(a=pu(u,r))}return a}function Es(e){return void 0!==e}function Dm(e,t){return 0!=(e.flags&(t?8:16))}function ee(e,t=""){const n=v(),r=$(),o=e+L,i=r.firstCreatePass?vr(r,o,1,t,null):r.data[o],s=_m(r,n,i,t,e);n[o]=s,wi()&&Ui(r,n,s,i),wt(i,!1)}let _m=(e,t,n,r,o)=>(sn(!0),function ji(e,t){return e.createText(t)}(t[N],r));function Nr(e){return Hl("",e,""),Nr}function Hl(e,t,n){const r=v(),o=_r(r,e,t,n);return o!==O&&qt(r,Pe(),o),Hl}function $l(e,t,n,r,o){const i=v(),s=Cr(i,e,t,n,r,o);return s!==O&&qt(i,Pe(),s),$l}const Or="en-US";let Hm=Or;function zl(e,t,n,r,o){if(e=A(e),Array.isArray(e))for(let i=0;i<e.length;i++)zl(e[i],t,n,r,o);else{const i=$(),s=v(),a=Ee();let u=Sn(e)?e:A(e.provide);const l=bp(e),c=1048575&a.providerIndexes,d=a.directiveStart,f=a.providerIndexes>>20;if(Sn(e)||!e.multi){const h=new no(l,o,_),p=Wl(u,t,o?c:c+f,d);-1===p?(cu(Ai(a,s),i,u),ql(i,e,t.length),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(h),s.push(h)):(n[p]=h,s[p]=h)}else{const h=Wl(u,t,c+f,d),p=Wl(u,t,c,c+f),y=p>=0&&n[p];if(o&&!y||!o&&!(h>=0&&n[h])){cu(Ai(a,s),i,u);const D=function EA(e,t,n,r,o){const i=new no(e,n,_);return i.multi=[],i.index=t,i.componentProviders=0,fy(i,o,r&&!n),i}(o?CA:_A,n.length,o,r,l);!o&&y&&(n[p].providerFactory=D),ql(i,e,t.length,0),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(D),s.push(D)}else ql(i,e,h>-1?h:p,fy(n[o?p:h],l,!o&&r));!o&&r&&y&&n[p].componentProviders++}}}function ql(e,t,n,r){const o=Sn(t),i=function lb(e){return!!e.useClass}(t);if(o||i){const u=(i?A(t.useClass):t).prototype.ngOnDestroy;if(u){const l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const c=l.indexOf(n);-1===c?l.push(n,[r,u]):l[c+1].push(r,u)}else l.push(n,u)}}}function fy(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Wl(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function _A(e,t,n,r){return Zl(this.multi,[])}function CA(e,t,n,r){const o=this.multi;let i;if(this.providerFactory){const s=this.providerFactory.componentProviders,a=Mn(n,n[E],this.providerFactory.index,r);i=a.slice(0,s),Zl(o,i);for(let u=s;u<a.length;u++)i.push(a[u])}else i=[],Zl(o,i);return i}function Zl(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function ie(e,t=[]){return n=>{n.providersResolver=(r,o)=>function DA(e,t,n){const r=$();if(r.firstCreatePass){const o=lt(e);zl(n,r.data,r.blueprint,o,!0),zl(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}class Pn{}class wA{}class Yl extends Pn{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new wg(this);const o=function Ze(e,t){const n=e[sf]||null;if(!n&&!0===t)throw new Error(`Type ${pe(e)} does not have '\u0275mod' property.`);return n}(t);this._bootstrapComponents=function zt(e){return e instanceof Function?e():e}(o.bootstrap),this._r3Injector=Lp(t,n,[{provide:Pn,useValue:this},{provide:os,useValue:this.componentFactoryResolver},...r],pe(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Ql extends wA{constructor(t){super(),this.moduleType=t}create(t){return new Yl(this.moduleType,t,[])}}function Ss(e,t,n,r){return function _y(e,t,n,r,o,i){const s=t+n;return Ae(e,s,o)?function St(e,t,n){return e[t]=n}(e,s+1,i?r.call(i,o):r(o)):function Ro(e,t){const n=e[t];return n===O?void 0:n}(e,s+1)}(v(),function Oe(){const e=S.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}(),e,t,n,r)}function tT(e,t,n,r=!0){const o=t[E];if(function bw(e,t,n,r){const o=_e+r,i=n.length;r>0&&(n[o-1][ut]=t),r<i-_e?(t[ut]=n[o],wh(n,_e+r,t)):(n.push(t),t[ut]=null),t[oe]=n;const s=t[Yr];null!==s&&n!==s&&function Mw(e,t){const n=e[Gn];t[de]!==t[oe][oe][de]&&(e[Ef]=!0),null===n?e[Gn]=[t]:n.push(t)}(s,t);const a=t[_t];null!==a&&a.insertView(e),t[P]|=128}(o,t,e,n),r){const i=xu(n,e),s=t[N],a=$i(s,e[Ct]);null!==a&&function Cw(e,t,n,r,o,i){r[ae]=o,r[be]=t,ho(e,r,n,1,o,i)}(o,e[be],s,t,a,i)}}Symbol;let Zt=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=oT}return e})();const nT=Zt,rT=class extends nT{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const o=function eT(e,t,n,r){const o=t.tView,a=us(e,o,n,4096&e[P]?4096:16,null,t,null,null,null,r?.injector??null,r?.hydrationInfo??null);a[Yr]=e[t.index];const l=e[_t];return null!==l&&(a[_t]=l.createEmbeddedView(o)),wl(o,a,n),a}(this._declarationLView,this._declarationTContainer,t,{injector:n,hydrationInfo:r});return new Eo(o)}};function oT(){return function As(e,t){return 4&e.type?new rT(t,e,gr(e,t)):null}(Ee(),v())}let Nt=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=cT}return e})();function cT(){return function xy(e,t){let n;const r=t[e.index];return xe(r)?n=r:(n=dg(r,t,null,e),t[e.index]=n,ls(t,n)),Oy(n,t,e,r),new Ty(n,e,t)}(Ee(),v())}const dT=Nt,Ty=class extends dT{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return gr(this._hostTNode,this._hostLView)}get injector(){return new Fe(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ti(this._hostTNode,this._hostLView);if(au(t)){const n=oo(t,this._hostLView),r=ro(t);return new Fe(n[E].data[r+8],n)}return new Fe(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Ny(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-_e}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const a=t.createEmbeddedViewImpl(n||{},i,null);return this.insertImpl(a,o,false),a}createComponent(t,n,r,o,i){const s=t&&!function so(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const g=n||{};a=g.index,r=g.injector,o=g.projectableNodes,i=g.environmentInjector||g.ngModuleRef}const u=s?t:new wo(H(t)),l=r||this.parentInjector;if(!i&&null==u.ngModule){const y=(s?l:this.parentInjector).get(Mt,null);y&&(i=y)}H(u.componentType??{});const h=u.create(l,o,null,i);return this.insertImpl(h.hostView,a,false),h}insert(t,n){return this.insertImpl(t,n,!1)}insertImpl(t,n,r){const o=t._lView;if(function QC(e){return xe(e[oe])}(o)){const u=this.indexOf(t);if(-1!==u)this.detach(u);else{const l=o[oe],c=new Ty(l,l[be],l[oe]);c.detach(c.indexOf(t))}}const s=this._adjustIndex(n),a=this._lContainer;return tT(a,o,s,!r),t.attachToViewContainerRef(),wh(Kl(a),s,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Ny(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Hi(this._lContainer,n);r&&(xi(Kl(this._lContainer),n),Su(r[E],r))}detach(t){const n=this._adjustIndex(t,-1),r=Hi(this._lContainer,n);return r&&null!=xi(Kl(this._lContainer),n)?new Eo(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Ny(e){return e[8]}function Kl(e){return e[8]||(e[8]=[])}let Oy=function Py(e,t,n,r){if(e[Ct])return;let o;o=8&n.type?K(r):function fT(e,t){const n=e[N],r=n.createComment(""),o=$e(t,e);return In(n,$i(n,o),r,function Tw(e,t){return e.nextSibling(t)}(n,o),!1),r}(t,n),e[Ct]=o};const qT=new b("Application Initializer");let lc=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=U(qT,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const o of this.appInits){const i=o();if(vs(i))n.push(i);else if(Wg(i)){const s=new Promise((a,u)=>{i.subscribe({complete:a,error:u})});n.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Yt=new b("LocaleId",{providedIn:"root",factory:()=>U(Yt,j.Optional|j.SkipSelf)||function ZT(){return typeof $localize<"u"&&$localize.locale||Or}()});let cc=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new q0(!1)}add(){this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const iv=new b(""),Os=new b("");let gc,hc=(()=>{class e{constructor(n,r,o){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,gc||(function DN(e){gc=e}(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{ue.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}static#e=this.\u0275fac=function(r){return new(r||e)(F(ue),F(pc),F(Os))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac})}return e})(),pc=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return gc?.findTestabilityInTree(this,n,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),cn=null;const sv=new b("AllowMultipleToken"),mc=new b("PlatformDestroyListeners"),av=new b("appBootstrapListener");function cv(e,t,n=[]){const r=`Platform: ${t}`,o=new b(r);return(i=[])=>{let s=yc();if(!s||s.injector.get(sv,!1)){const a=[...n,...i,{provide:o,useValue:!0}];e?e(a):function EN(e){if(cn&&!cn.get(sv,!1))throw new C(400,!1);(function uv(){!function RC(e){Ff=e}(()=>{throw new C(600,!1)})})(),cn=e;const t=e.get(fv);(function lv(e){e.get(Mp,null)?.forEach(n=>n())})(e)}(function dv(e=[],t){return dt.create({name:t,providers:[{provide:zu,useValue:"platform"},{provide:mc,useValue:new Set([()=>cn=null])},...e]})}(a,r))}return function bN(e){const t=yc();if(!t)throw new C(401,!1);return t}()}}function yc(){return cn?.get(fv)??null}let fv=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function MN(e="zone.js",t){return"noop"===e?new zb:"zone.js"===e?new ue(t):e}(r?.ngZone,function hv(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return o.run(()=>{const i=function MA(e,t,n){return new Yl(e,t,n)}(n.moduleType,this.injector,function vv(e){return[{provide:ue,useFactory:e},{provide:Zi,multi:!0,useFactory:()=>{const t=U(SN,{optional:!0});return()=>t.initialize()}},{provide:yv,useFactory:IN},{provide:$p,useFactory:Up}]}(()=>o)),s=i.injector.get(Gt,null);return o.runOutsideAngular(()=>{const a=o.onError.subscribe({next:u=>{s.handleError(u)}});i.onDestroy(()=>{Ps(this._modules,i),a.unsubscribe()})}),function pv(e,t,n){try{const r=n();return vs(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(s,o,()=>{const a=i.injector.get(lc);return a.runInitializers(),a.donePromise.then(()=>(function $m(e){et(e,"Expected localeId to be defined"),"string"==typeof e&&(Hm=e.toLowerCase().replace(/_/g,"-"))}(i.injector.get(Yt,Or)||Or),this._moduleDoBootstrap(i),i))})})}bootstrapModule(n,r=[]){const o=gv({},r);return function _N(e,t,n){const r=new Ql(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(jo);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new C(-403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new C(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(mc,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)(F(dt))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function gv(e,t){return Array.isArray(t)?t.reduce(gv,e):{...e,...t}}let jo=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=U(yv),this.zoneIsStable=U($p),this.componentTypes=[],this.components=[],this.isStable=U(cc).hasPendingTasks.pipe(Yd(n=>n?Ma(!1):this.zoneIsStable),function W0(e,t=Da){return e=e??Z0,Ft((n,r)=>{let o,i=!0;n.subscribe(Rt(r,s=>{const a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}(),Zd()),this._injector=U(Mt)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof Np;if(!this._injector.get(lc).done)throw!o&&function qr(e){const t=H(e)||De(e)||Ne(e);return null!==t&&t.standalone}(n),new C(405,!1);let s;s=o?n:this._injector.get(os).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function CN(e){return e.isBoundToModule}(s)?void 0:this._injector.get(Pn),l=s.create(dt.NULL,[],r||s.selector,a),c=l.location.nativeElement,d=l.injector.get(iv,null);return d?.registerApplication(c),l.onDestroy(()=>{this.detachView(l.hostView),Ps(this.components,l),d?.unregisterApplication(c)}),this._loadComponent(l),l}tick(){if(this._runningTick)throw new C(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this.internalErrorHandler(n)}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Ps(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(av,[]);r.push(...this._bootstrapListeners),r.forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Ps(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new C(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Ps(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const yv=new b("",{providedIn:"root",factory:()=>U(Gt).handleError.bind(void 0)});function IN(){const e=U(ue),t=U(Gt);return n=>e.runOutsideAngular(()=>t.handleError(n))}let SN=(()=>{class e{constructor(){this.zone=U(ue),this.applicationRef=U(jo)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class wv{constructor(){}supports(t){return hs(t)}create(t){return new kN(t)}}const RN=(e,t)=>t;class kN{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||RN}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){const s=!r||n&&n.currentIndex<Mv(r,o,i)?n:r,a=Mv(s,o,i),u=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,null==s.previousIndex)o++;else{i||(i=[]);const l=a-o,c=u-o;if(l!=c){for(let f=0;f<l;f++){const h=f<i.length?i[f]:i[f]=0,p=h+f;c<=p&&p<l&&(i[f]=h+1)}i[s.previousIndex]=c-l}}a!==u&&t(s,a,u)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!hs(t))throw new C(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let o,i,s,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)):(n=this._mismatch(n,i,s,a),r=!0),n=n._next}else o=0,function rI(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Symbol.iterator]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,a=>{s=this._trackByFn(o,a),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,s,o),r=!0),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new LN(n,r),i,o),t}_verifyReinsertion(t,n,r,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,i=t._nextRemoved;return null===o?this._removalsHead=i:o._nextRemoved=i,null===i?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new bv),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new bv),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class LN{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class VN{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class bv{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new VN,this.map.set(n,r)),r.add(t)}get(t,n){const o=this.map.get(t);return o?o.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Mv(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}function Sv(){return new ks([new wv])}let ks=(()=>{class e{static#e=this.\u0275prov=B({token:e,providedIn:"root",factory:Sv});constructor(n){this.factories=n}static create(n,r){if(null!=r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Sv()),deps:[[e,new yu,new mu]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new C(901,!1)}}return e})();const UN=cv(null,"core",[]);let GN=(()=>{class e{constructor(n){}static#e=this.\u0275fac=function(r){return new(r||e)(F(jo))};static#t=this.\u0275mod=Vt({type:e});static#n=this.\u0275inj=vt({})}return e})(),bc=null;function Ho(){return bc}class r1{}const dn=new b("DocumentToken");function zv(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[o,i]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}class z1{constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Zv=(()=>{class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){const n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){const r=this._viewContainer;n.forEachOperation((o,i,s)=>{if(null==o.previousIndex)r.createEmbeddedView(this._template,new z1(o.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)r.remove(null===i?void 0:i);else if(null!==i){const a=r.get(i);r.move(a,s),Yv(a,o)}});for(let o=0,i=r.length;o<i;o++){const a=r.get(o).context;a.index=o,a.count=i,a.ngForOf=this._ngForOf}n.forEachIdentityChange(o=>{Yv(r.get(o.currentIndex),o)})}static ngTemplateContextGuard(n,r){return!0}static#e=this.\u0275fac=function(r){return new(r||e)(_(Nt),_(Zt),_(ks))};static#t=this.\u0275dir=x({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return e})();function Yv(e,t){e.context.$implicit=t.item}let vx=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Vt({type:e});static#n=this.\u0275inj=vt({})}return e})();function eD(e){return"server"===e}class tD{}class zx extends r1{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Hc extends zx{static makeCurrent(){!function n1(e){bc||(bc=e)}(new Hc)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return(n=n||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function qx(){return zo=zo||document.querySelector("base"),zo?zo.getAttribute("href"):null}();return null==n?null:function Wx(e){Qs=Qs||document.createElement("a"),Qs.setAttribute("href",e);const t=Qs.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){zo=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return zv(document.cookie,t)}}let Qs,zo=null,Yx=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac})}return e})();const $c=new b("EventManagerPlugins");let sD=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new C(5101,!1);return this._eventNameToPlugin.set(n,r),r}static#e=this.\u0275fac=function(r){return new(r||e)(F($c),F(ue))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac})}return e})();class aD{constructor(t){this._doc=t}}const Uc="ng-app-id";let uD=(()=>{class e{constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,this.platformId=i,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=eD(i),this.resetHostNodes()}addStyles(n){for(const r of n)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(n){for(const r of n)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){const n=this.styleNodesInDOM;n&&(n.forEach(r=>r.remove()),n.clear());for(const r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(const r of this.getAllStyles())this.addStyleToHost(n,r)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(const r of this.hostNodes)this.addStyleToHost(r,n)}onStyleRemoved(n){const r=this.styleRef;r.get(n)?.elements?.forEach(o=>o.remove()),r.delete(n)}collectServerRenderedStyles(){const n=this.doc.head?.querySelectorAll(`style[${Uc}="${this.appId}"]`);if(n?.length){const r=new Map;return n.forEach(o=>{null!=o.textContent&&r.set(o.textContent,o)}),r}return null}changeUsageCount(n,r){const o=this.styleRef;if(o.has(n)){const i=o.get(n);return i.usage+=r,i.usage}return o.set(n,{usage:r,elements:[]}),r}getStyleElement(n,r){const o=this.styleNodesInDOM,i=o?.get(r);if(i?.parentNode===n)return o.delete(r),i.removeAttribute(Uc),i;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(Uc,this.appId),s}}addStyleToHost(n,r){const o=this.getStyleElement(n,r);n.appendChild(o);const i=this.styleRef,s=i.get(r)?.elements;s?s.push(o):i.set(r,{elements:[o],usage:1})}resetHostNodes(){const n=this.hostNodes;n.clear(),n.add(this.doc.head)}static#e=this.\u0275fac=function(r){return new(r||e)(F(dn),F(Ji),F(Ip,8),F(An))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac})}return e})();const Gc={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},zc=/%COMP%/g,Kx=new b("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function cD(e,t){return t.map(n=>n.replace(zc,e))}let dD=(()=>{class e{constructor(n,r,o,i,s,a,u,l=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=u,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=eD(a),this.defaultRenderer=new qc(n,s,u,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===st.ShadowDom&&(r={...r,encapsulation:st.Emulated});const o=this.getOrCreateRenderer(n,r);return o instanceof hD?o.applyToHost(n):o instanceof Wc&&o.applyStyles(),o}getOrCreateRenderer(n,r){const o=this.rendererByCompId;let i=o.get(r.id);if(!i){const s=this.doc,a=this.ngZone,u=this.eventManager,l=this.sharedStylesHost,c=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case st.Emulated:i=new hD(u,l,r,this.appId,c,s,a,d);break;case st.ShadowDom:return new rO(u,l,n,r,s,a,this.nonce,d);default:i=new Wc(u,l,r,c,s,a,d)}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(r){return new(r||e)(F(sD),F(uD),F(Ji),F(Kx),F(dn),F(An),F(ue),F(Ip))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac})}return e})();class qc{constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(Gc[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(fD(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(fD(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r="string"==typeof t?this.doc.querySelector(t):t;if(!r)throw new C(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;const i=Gc[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=Gc[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(an.DashCase|an.Important)?t.style.setProperty(n,r,o&an.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&an.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t[n]=r}setValue(t,n){t.nodeValue=n}listen(t,n,r){if("string"==typeof t&&!(t=Ho().getGlobalEventTarget(this.doc,t)))throw new Error(`Unsupported event target ${t} for event ${n}`);return this.eventManager.addEventListener(t,n,this.decoratePreventDefault(r))}decoratePreventDefault(t){return n=>{if("__ngUnwrap__"===n)return t;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))&&n.preventDefault()}}}function fD(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class rO extends qc{constructor(t,n,r,o,i,s,a,u){super(t,i,s,u),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const l=cD(o.id,o.styles);for(const c of l){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=c,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(this.nodeOrShadowRoot(t),n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Wc extends qc{constructor(t,n,r,o,i,s,a,u){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=u?cD(u,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class hD extends Wc{constructor(t,n,r,o,i,s,a,u){const l=o+"-"+r.id;super(t,n,r,i,s,a,u,l),this.contentAttr=function eO(e){return"_ngcontent-%COMP%".replace(zc,e)}(l),this.hostAttr=function tO(e){return"_nghost-%COMP%".replace(zc,e)}(l)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}let oO=(()=>{class e extends aD{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}static#e=this.\u0275fac=function(r){return new(r||e)(F(dn))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac})}return e})();const pD=["alt","control","meta","shift"],iO={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},sO={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let aO=(()=>{class e extends aD{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,o){const i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ho().onAndCancel(n,i.domEventName,s))}static parseEventName(n){const r=n.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const i=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),pD.forEach(l=>{const c=r.indexOf(l);c>-1&&(r.splice(c,1),s+=l+".")}),s+=i,0!=r.length||0===i.length)return null;const u={};return u.domEventName=o,u.fullKey=s,u}static matchEventFullKeyCode(n,r){let o=iO[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),pD.forEach(s=>{s!==o&&(0,sO[s])(n)&&(i+=s+".")}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return"esc"===n?"escape":n}static#e=this.\u0275fac=function(r){return new(r||e)(F(dn))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac})}return e})();const dO=cv(UN,"browser",[{provide:An,useValue:"browser"},{provide:Mp,useValue:function uO(){Hc.makeCurrent()},multi:!0},{provide:dn,useFactory:function cO(){return function Lw(e){Fu=e}(document),document},deps:[]}]),fO=new b(""),yD=[{provide:Os,useClass:class Zx{addToWindow(t){J.getAngularTestability=(r,o=!0)=>{const i=t.findTestabilityInTree(r,o);if(null==i)throw new C(5103,!1);return i},J.getAllAngularTestabilities=()=>t.getAllTestabilities(),J.getAllAngularRootElements=()=>t.getAllRootElements(),J.frameworkStabilizers||(J.frameworkStabilizers=[]),J.frameworkStabilizers.push(r=>{const o=J.getAllAngularTestabilities();let i=o.length,s=!1;const a=function(u){s=s||u,i--,0==i&&r(s)};o.forEach(u=>{u.whenStable(a)})})}findTestabilityInTree(t,n,r){return null==n?null:t.getTestability(n)??(r?Ho().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:iv,useClass:hc,deps:[ue,pc,Os]},{provide:hc,useClass:hc,deps:[ue,pc,Os]}],vD=[{provide:zu,useValue:"root"},{provide:Gt,useFactory:function lO(){return new Gt},deps:[]},{provide:$c,useClass:oO,multi:!0,deps:[dn,ue,An]},{provide:$c,useClass:aO,multi:!0,deps:[dn]},dD,uD,sD,{provide:Op,useExisting:dD},{provide:tD,useClass:Yx,deps:[]},[]];let hO=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:Ji,useValue:n.appId}]}}static#e=this.\u0275fac=function(r){return new(r||e)(F(fO,12))};static#t=this.\u0275mod=Vt({type:e});static#n=this.\u0275inj=vt({providers:[...vD,...yD],imports:[vx,GN]})}return e})();typeof window<"u"&&window;const{isArray:_O}=Array,{getPrototypeOf:CO,prototype:EO,keys:wO}=Object;const{isArray:IO}=Array;function TO(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function NO(...e){const t=function L0(e){return re(ba(e))?e.pop():void 0}(e),{args:n,keys:r}=function bO(e){if(1===e.length){const t=e[0];if(_O(t))return{args:t,keys:null};if(function MO(e){return e&&"object"==typeof e&&CO(e)===EO}(t)){const n=wO(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}(e),o=new we(i=>{const{length:s}=n;if(!s)return void i.complete();const a=new Array(s);let u=s,l=s;for(let c=0;c<s;c++){let d=!1;yt(n[c]).subscribe(Rt(i,f=>{d||(d=!0,l--),a[c]=f},()=>u--,void 0,()=>{(!u||!d)&&(l||i.next(r?TO(r,a):a),i.complete())}))}});return t?o.pipe(function AO(e){return _n(t=>function SO(e,t){return IO(t)?e(...t):e(t)}(e,t))}(t)):o}let ED=(()=>{class e{constructor(n,r){this._renderer=n,this._elementRef=r,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}static#e=this.\u0275fac=function(r){return new(r||e)(_(Tn),_(ct))};static#t=this.\u0275dir=x({type:e})}return e})(),Rn=(()=>{class e extends ED{static#e=this.\u0275fac=function(){let n;return function(o){return(n||(n=function Me(e){return kt(()=>{const t=e.prototype.constructor,n=t[Lt]||du(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[Lt]||du(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}(e)))(o||e)}}();static#t=this.\u0275dir=x({type:e,features:[Y]})}return e})();const xt=new b("NgValueAccessor"),OO={provide:xt,useExisting:X(()=>Xs),multi:!0},FO=new b("CompositionEventMode");let Xs=(()=>{class e extends ED{constructor(n,r,o){super(n,r),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function PO(){const e=Ho()?Ho().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(n){this.setProperty("value",n??"")}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}static#e=this.\u0275fac=function(r){return new(r||e)(_(Tn),_(ct),_(FO,8))};static#t=this.\u0275dir=x({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,o){1&r&&ye("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},features:[ie([OO]),Y]})}return e})();function hn(e){return null==e||("string"==typeof e||Array.isArray(e))&&0===e.length}function bD(e){return null!=e&&"number"==typeof e.length}const Te=new b("NgValidators"),pn=new b("NgAsyncValidators"),RO=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class Yc{static min(t){return function MD(e){return t=>{if(hn(t.value)||hn(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n<e?{min:{min:e,actual:t.value}}:null}}(t)}static max(t){return function ID(e){return t=>{if(hn(t.value)||hn(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}}(t)}static required(t){return function SD(e){return hn(e.value)?{required:!0}:null}(t)}static requiredTrue(t){return function AD(e){return!0===e.value?null:{required:!0}}(t)}static email(t){return function TD(e){return hn(e.value)||RO.test(e.value)?null:{email:!0}}(t)}static minLength(t){return function ND(e){return t=>hn(t.value)||!bD(t.value)?null:t.value.length<e?{minlength:{requiredLength:e,actualLength:t.value.length}}:null}(t)}static maxLength(t){return function xD(e){return t=>bD(t.value)&&t.value.length>e?{maxlength:{requiredLength:e,actualLength:t.value.length}}:null}(t)}static pattern(t){return function OD(e){if(!e)return Js;let t,n;return"string"==typeof e?(n="","^"!==e.charAt(0)&&(n+="^"),n+=e,"$"!==e.charAt(e.length-1)&&(n+="$"),t=new RegExp(n)):(n=e.toString(),t=e),r=>{if(hn(r.value))return null;const o=r.value;return t.test(o)?null:{pattern:{requiredPattern:n,actualValue:o}}}}(t)}static nullValidator(t){return null}static compose(t){return VD(t)}static composeAsync(t){return jD(t)}}function Js(e){return null}function PD(e){return null!=e}function FD(e){return vs(e)?ai(e):e}function RD(e){let t={};return e.forEach(n=>{t=null!=n?{...t,...n}:t}),0===Object.keys(t).length?null:t}function kD(e,t){return t.map(n=>n(e))}function LD(e){return e.map(t=>function kO(e){return!e.validate}(t)?t:n=>t.validate(n))}function VD(e){if(!e)return null;const t=e.filter(PD);return 0==t.length?null:function(n){return RD(kD(n,t))}}function Qc(e){return null!=e?VD(LD(e)):null}function jD(e){if(!e)return null;const t=e.filter(PD);return 0==t.length?null:function(n){return NO(kD(n,t).map(FD)).pipe(_n(RD))}}function Xc(e){return null!=e?jD(LD(e)):null}function BD(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function HD(e){return e._rawValidators}function $D(e){return e._rawAsyncValidators}function Jc(e){return e?Array.isArray(e)?e:[e]:[]}function Ks(e,t){return Array.isArray(e)?e.includes(t):e===t}function UD(e,t){const n=Jc(t);return Jc(e).forEach(o=>{Ks(n,o)||n.push(o)}),n}function GD(e,t){return Jc(t).filter(n=>!Ks(e,n))}class zD{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=Qc(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Xc(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,n){return!!this.control&&this.control.hasError(t,n)}getError(t,n){return this.control?this.control.getError(t,n):null}}class Ve extends zD{get formDirective(){return null}get path(){return null}}class gn extends zD{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class qD{constructor(t){this._cd=t}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let WD=(()=>{class e extends qD{constructor(n){super(n)}static#e=this.\u0275fac=function(r){return new(r||e)(_(gn,2))};static#t=this.\u0275dir=x({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){2&r&&_s("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[Y]})}return e})(),ZD=(()=>{class e extends qD{constructor(n){super(n)}static#e=this.\u0275fac=function(r){return new(r||e)(_(Ve,10))};static#t=this.\u0275dir=x({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(r,o){2&r&&_s("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},features:[Y]})}return e})();const qo="VALID",ta="INVALID",kr="PENDING",Wo="DISABLED";function td(e){return(na(e)?e.validators:e)||null}function nd(e,t){return(na(t)?t.asyncValidators:e)||null}function na(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function QD(e,t,n){const r=e.controls;if(!(t?Object.keys(r):r).length)throw new C(1e3,"");if(!r[n])throw new C(1001,"")}function XD(e,t,n){e._forEachChild((r,o)=>{if(void 0===n[o])throw new C(1002,"")})}class ra{constructor(t,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===qo}get invalid(){return this.status===ta}get pending(){return this.status==kr}get disabled(){return this.status===Wo}get enabled(){return this.status!==Wo}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(UD(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(UD(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(GD(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(GD(t,this._rawAsyncValidators))}hasValidator(t){return Ks(this._rawValidators,t)}hasAsyncValidator(t){return Ks(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(n=>{n.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(n=>{n.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=kr,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=Wo,this.errors=null,this._forEachChild(r=>{r.disable({...t,onlySelf:!0})}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:n}),this._onDisabledChange.forEach(r=>r(!0))}enable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=qo,this._forEachChild(r=>{r.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:n}),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===qo||this.status===kr)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Wo:qo}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=kr,this._hasOwnPendingAsyncValidator=!0;const n=FD(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,n={}){this.errors=t,this._updateControlsErrors(!1!==n.emitEvent)}get(t){let n=t;return null==n||(Array.isArray(n)||(n=n.split(".")),0===n.length)?null:n.reduce((r,o)=>r&&r._find(o),this)}getError(t,n){const r=n?this.get(n):this;return r&&r.errors?r.errors[t]:null}hasError(t,n){return!!this.getError(t,n)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new Se,this.statusChanges=new Se}_calculateStatus(){return this._allControlsDisabled()?Wo:this.errors?ta:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(kr)?kr:this._anyControlsHaveStatus(ta)?ta:qo}_anyControlsHaveStatus(t){return this._anyControls(n=>n.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){na(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=function BO(e){return Array.isArray(e)?Qc(e):e||null}(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=function HO(e){return Array.isArray(e)?Xc(e):e||null}(this._rawAsyncValidators)}}class Zo extends ra{constructor(t,n,r){super(td(n),nd(r,n)),this.controls=t,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,n){return this.controls[t]?this.controls[t]:(this.controls[t]=n,n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange),n)}addControl(t,n,r={}){this.registerControl(t,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(t,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}setControl(t,n,r={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],n&&this.registerControl(t,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,n={}){XD(this,0,t),Object.keys(t).forEach(r=>{QD(this,!0,r),this.controls[r].setValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(t,n={}){null!=t&&(Object.keys(t).forEach(r=>{const o=this.controls[r];o&&o.patchValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(t={},n={}){this._forEachChild((r,o)=>{r.reset(t?t[o]:null,{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n),this._updateTouched(n),this.updateValueAndValidity(n)}getRawValue(){return this._reduceChildren({},(t,n,r)=>(t[r]=n.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(n,r)=>!!r._syncPendingControls()||n);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(n=>{const r=this.controls[n];r&&t(r,n)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const[n,r]of Object.entries(this.controls))if(this.contains(n)&&t(r))return!0;return!1}_reduceValue(){return this._reduceChildren({},(n,r,o)=>((r.enabled||this.disabled)&&(n[o]=r.value),n))}_reduceChildren(t,n){let r=t;return this._forEachChild((o,i)=>{r=n(r,o,i)}),r}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}class JD extends Zo{}const Lr=new b("CallSetDisabledState",{providedIn:"root",factory:()=>oa}),oa="always";function Yo(e,t,n=oa){rd(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||"always"===n)&&t.valueAccessor.setDisabledState?.(e.disabled),function UO(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&KD(e,t)})}(e,t),function zO(e,t){const n=(r,o)=>{t.valueAccessor.writeValue(r),o&&t.viewToModelUpdate(r)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}(e,t),function GO(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&KD(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function $O(e,t){if(t.valueAccessor.setDisabledState){const n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function sa(e,t,n=!0){const r=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(r),t.valueAccessor.registerOnTouched(r)),ua(e,t),e&&(t._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function aa(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function rd(e,t){const n=HD(e);null!==t.validator?e.setValidators(BD(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const r=$D(e);null!==t.asyncValidator?e.setAsyncValidators(BD(r,t.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const o=()=>e.updateValueAndValidity();aa(t._rawValidators,o),aa(t._rawAsyncValidators,o)}function ua(e,t){let n=!1;if(null!==e){if(null!==t.validator){const o=HD(e);if(Array.isArray(o)&&o.length>0){const i=o.filter(s=>s!==t.validator);i.length!==o.length&&(n=!0,e.setValidators(i))}}if(null!==t.asyncValidator){const o=$D(e);if(Array.isArray(o)&&o.length>0){const i=o.filter(s=>s!==t.asyncValidator);i.length!==o.length&&(n=!0,e.setAsyncValidators(i))}}}const r=()=>{};return aa(t._rawValidators,r),aa(t._rawAsyncValidators,r),n}function KD(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function n_(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function r_(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const Xo=class extends ra{constructor(t=null,n,r){super(td(n),nd(r,n)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),na(n)&&(n.nonNullable||n.initialValueIsDefault)&&(this.defaultValue=r_(t)?t.value:t)}setValue(t,n={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==n.emitViewToModelChange)),this.updateValueAndValidity(n)}patchValue(t,n={}){this.setValue(t,n)}reset(t=this.defaultValue,n={}){this._applyFormState(t),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){n_(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){n_(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){r_(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}};let l_=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Vt({type:e});static#n=this.\u0275inj=vt({})}return e})();const ud=new b("NgModelWithFormControlWarning"),sP={provide:Ve,useExisting:X(()=>la)};let la=(()=>{class e extends Ve{constructor(n,r,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new Se,this._setValidators(n),this._setAsyncValidators(r)}ngOnChanges(n){this._checkFormPresent(),n.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(ua(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(n){const r=this.form.get(n.path);return Yo(r,n,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(n),r}getControl(n){return this.form.get(n.path)}removeControl(n){sa(n.control||null,n,!1),function YO(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}(this.directives,n)}addFormGroup(n){this._setUpFormContainer(n)}removeFormGroup(n){this._cleanUpFormContainer(n)}getFormGroup(n){return this.form.get(n.path)}addFormArray(n){this._setUpFormContainer(n)}removeFormArray(n){this._cleanUpFormContainer(n)}getFormArray(n){return this.form.get(n.path)}updateModel(n,r){this.form.get(n.path).setValue(r)}onSubmit(n){return this.submitted=!0,function t_(e,t){e._syncPendingControls(),t.forEach(n=>{const r=n.control;"submit"===r.updateOn&&r._pendingChange&&(n.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(n),"dialog"===n?.target?.method}onReset(){this.resetForm()}resetForm(n=void 0){this.form.reset(n),this.submitted=!1}_updateDomValue(){this.directives.forEach(n=>{const r=n.control,o=this.form.get(n.path);r!==o&&(sa(r||null,n),(e=>e instanceof Xo)(o)&&(Yo(o,n,this.callSetDisabledState),n.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(n){const r=this.form.get(n.path);(function e_(e,t){rd(e,t)})(r,n),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(n){if(this.form){const r=this.form.get(n.path);r&&function qO(e,t){return ua(e,t)}(r,n)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){rd(this.form,this),this._oldForm&&ua(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(r){return new(r||e)(_(Te,10),_(pn,10),_(Lr,8))};static#t=this.\u0275dir=x({type:e,selectors:[["","formGroup",""]],hostBindings:function(r,o){1&r&&ye("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[ie([sP]),Y,Bt]})}return e})();const lP={provide:gn,useExisting:X(()=>dd)};let dd=(()=>{class e extends gn{set isDisabled(n){}static#e=this._ngModelWarningSentOnce=!1;constructor(n,r,o,i,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.name=null,this.update=new Se,this._ngModelWarningSent=!1,this._parent=n,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=function sd(e,t){if(!t)return null;let n,r,o;return Array.isArray(t),t.forEach(i=>{i.constructor===Xs?n=i:function ZO(e){return Object.getPrototypeOf(e.constructor)===Rn}(i)?r=i:o=i}),o||r||n||null}(0,i)}ngOnChanges(n){this._added||this._setUpControl(),function id(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}(n,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}get path(){return function ia(e,t){return[...t.path,e]}(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#t=this.\u0275fac=function(r){return new(r||e)(_(Ve,13),_(Te,10),_(pn,10),_(xt,10),_(ud,8))};static#n=this.\u0275dir=x({type:e,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[ie([lP]),Y,Bt]})}return e})(),bP=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Vt({type:e});static#n=this.\u0275inj=vt({imports:[l_]})}return e})();class M_ extends ra{constructor(t,n,r){super(td(n),nd(r,n)),this.controls=t,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[this._adjustIndex(t)]}push(t,n={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}insert(t,n,r={}){this.controls.splice(t,0,n),this._registerControl(n),this.updateValueAndValidity({emitEvent:r.emitEvent})}removeAt(t,n={}){let r=this._adjustIndex(t);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),this.updateValueAndValidity({emitEvent:n.emitEvent})}setControl(t,n,r={}){let o=this._adjustIndex(t);o<0&&(o=0),this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),this.controls.splice(o,1),n&&(this.controls.splice(o,0,n),this._registerControl(n)),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,n={}){XD(this,0,t),t.forEach((r,o)=>{QD(this,!1,o),this.at(o).setValue(r,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(t,n={}){null!=t&&(t.forEach((r,o)=>{this.at(o)&&this.at(o).patchValue(r,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(t=[],n={}){this._forEachChild((r,o)=>{r.reset(t[o],{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n),this._updateTouched(n),this.updateValueAndValidity(n)}getRawValue(){return this.controls.map(t=>t.getRawValue())}clear(t={}){this.controls.length<1||(this._forEachChild(n=>n._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_adjustIndex(t){return t<0?t+this.length:t}_syncPendingControls(){let t=this.controls.reduce((n,r)=>!!r._syncPendingControls()||n,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){this.controls.forEach((n,r)=>{t(n,r)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(n=>n.enabled&&t(n))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}_find(t){return this.at(t)??null}}function I_(e){return!!e&&(void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn)}let MP=(()=>{class e{constructor(){this.useNonNullable=!1}get nonNullable(){const n=new e;return n.useNonNullable=!0,n}group(n,r=null){const o=this._reduceControls(n);let i={};return I_(r)?i=r:null!==r&&(i.validators=r.validator,i.asyncValidators=r.asyncValidator),new Zo(o,i)}record(n,r=null){const o=this._reduceControls(n);return new JD(o,r)}control(n,r,o){let i={};return this.useNonNullable?(I_(r)?i=r:(i.validators=r,i.asyncValidators=o),new Xo(n,{...i,nonNullable:!0})):new Xo(n,r,o)}array(n,r,o){const i=n.map(s=>this._createControl(s));return new M_(i,r,o)}_reduceControls(n){const r={};return Object.keys(n).forEach(o=>{r[o]=this._createControl(n[o])}),r}_createControl(n){return n instanceof Xo||n instanceof ra?n:Array.isArray(n)?this.control(n[0],n.length>1?n[1]:null,n.length>2?n[2]:null):this.control(n)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),IP=(()=>{class e{static withConfig(n){return{ngModule:e,providers:[{provide:ud,useValue:n.warnOnNgModelWithFormControl??"always"},{provide:Lr,useValue:n.callSetDisabledState??oa}]}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Vt({type:e});static#n=this.\u0275inj=vt({imports:[bP]})}return e})();function S_(e){return Ft((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}class ca{}class da{}class Ot{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?"string"==typeof t?this.lazyInit=()=>{this.headers=new Map,t.split("\n").forEach(n=>{const r=n.indexOf(":");if(r>0){const o=n.slice(0,r),i=o.toLowerCase(),s=n.slice(r+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.setHeaderEntries(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof Ot?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){const n=new Ot;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof Ot?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){const n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(t.name,n);const o=("a"===t.op?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":const i=t.value;if(i){let s=this.headers.get(n);if(!s)return;s=s.filter(a=>-1===i.indexOf(a)),0===s.length?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}else this.headers.delete(n),this.normalizedNames.delete(n)}}setHeaderEntries(t,n){const r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}}class TP{encodeKey(t){return A_(t)}encodeValue(t){return A_(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const xP=/%(\d[a-f0-9])/gi,OP={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function A_(e){return encodeURIComponent(e).replace(xP,(t,n)=>OP[n]??t)}function fa(e){return`${e}`}class mn{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new TP,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function NP(e,t){const n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{const i=o.indexOf("="),[s,a]=-1==i?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],u=n.get(s)||[];u.push(a),n.set(s,u)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{const r=t.fromObject[n],o=Array.isArray(r)?r.map(fa):[fa(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){const n=[];return Object.keys(t).forEach(r=>{const o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const n=new mn({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const n=("a"===t.op?this.map.get(t.param):void 0)||[];n.push(fa(t.value)),this.map.set(t.param,n);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let r=this.map.get(t.param)||[];const o=r.indexOf(fa(t.value));-1!==o&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class PP{constructor(){this.map=new Map}set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}}function T_(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function N_(e){return typeof Blob<"u"&&e instanceof Blob}function x_(e){return typeof FormData<"u"&&e instanceof FormData}class Jo{constructor(t,n,r,o){let i;if(this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function FP(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||o?(this.body=void 0!==r?r:null,i=o):i=r,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params)),this.headers||(this.headers=new Ot),this.context||(this.context=new PP),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=n;else{const a=n.indexOf("?");this.urlWithParams=n+(-1===a?"?":a<n.length-1?"&":"")+s}}else this.params=new mn,this.urlWithParams=n}serializeBody(){return null===this.body?null:T_(this.body)||N_(this.body)||x_(this.body)||function RP(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof mn?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||x_(this.body)?null:N_(this.body)?this.body.type||null:T_(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof mn?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(t={}){const n=t.method||this.method,r=t.url||this.url,o=t.responseType||this.responseType,i=void 0!==t.body?t.body:this.body,s=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,a=void 0!==t.reportProgress?t.reportProgress:this.reportProgress;let u=t.headers||this.headers,l=t.params||this.params;const c=t.context??this.context;return void 0!==t.setHeaders&&(u=Object.keys(t.setHeaders).reduce((d,f)=>d.set(f,t.setHeaders[f]),u)),t.setParams&&(l=Object.keys(t.setParams).reduce((d,f)=>d.set(f,t.setParams[f]),l)),new Jo(n,r,i,{params:l,headers:u,context:c,reportProgress:a,responseType:o,withCredentials:s})}}var Vr=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(Vr||{});class gd{constructor(t,n=200,r="OK"){this.headers=t.headers||new Ot,this.status=void 0!==t.status?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class md extends gd{constructor(t={}){super(t),this.type=Vr.ResponseHeader}clone(t={}){return new md({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class jr extends gd{constructor(t={}){super(t),this.type=Vr.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new jr({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class O_ extends gd{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function yd(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}let P_=(()=>{class e{constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof Jo)i=n;else{let u,l;u=o.headers instanceof Ot?o.headers:new Ot(o.headers),o.params&&(l=o.params instanceof mn?o.params:new mn({fromObject:o.params})),i=new Jo(n,r,void 0!==o.body?o.body:null,{headers:u,context:o.context,params:l,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials})}const s=Ma(i).pipe(function SP(e,t){return re(t)?si(e,t,1):si(e,1)}(u=>this.handler.handle(u)));if(n instanceof Jo||"events"===o.observe)return s;const a=s.pipe(function AP(e,t){return Ft((n,r)=>{let o=0;n.subscribe(Rt(r,i=>e.call(t,i,o++)&&r.next(i)))})}(u=>u instanceof jr));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(_n(u=>{if(null!==u.body&&!(u.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return u.body}));case"blob":return a.pipe(_n(u=>{if(null!==u.body&&!(u.body instanceof Blob))throw new Error("Response is not a Blob.");return u.body}));case"text":return a.pipe(_n(u=>{if(null!==u.body&&"string"!=typeof u.body)throw new Error("Response is not a string.");return u.body}));default:return a.pipe(_n(u=>u.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:(new mn).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,yd(o,r))}post(n,r,o={}){return this.request("POST",n,yd(o,r))}put(n,r,o={}){return this.request("PUT",n,yd(o,r))}static#e=this.\u0275fac=function(r){return new(r||e)(F(ca))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac})}return e})();function k_(e,t){return t(e)}function LP(e,t){return(n,r)=>t.intercept(n,{handle:o=>e(o,r)})}const jP=new b(""),Ko=new b(""),L_=new b("");function BP(){let e=null;return(t,n)=>{null===e&&(e=(U(jP,{optional:!0})??[]).reduceRight(LP,k_));const r=U(cc),o=r.add();return e(t,n).pipe(S_(()=>r.remove(o)))}}let V_=(()=>{class e extends ca{constructor(n,r){super(),this.backend=n,this.injector=r,this.chain=null,this.pendingTasks=U(cc)}handle(n){if(null===this.chain){const o=Array.from(new Set([...this.injector.get(Ko),...this.injector.get(L_,[])]));this.chain=o.reduceRight((i,s)=>function VP(e,t,n){return(r,o)=>n.runInContext(()=>t(r,i=>e(i,o)))}(i,s,this.injector),k_)}const r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(S_(()=>this.pendingTasks.remove(r)))}static#e=this.\u0275fac=function(r){return new(r||e)(F(da),F(Mt))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac})}return e})();const GP=/^\)\]\}',?\n/;let B_=(()=>{class e{constructor(n){this.xhrFactory=n}handle(n){if("JSONP"===n.method)throw new C(-2800,!1);const r=this.xhrFactory;return(r.\u0275loadImpl?ai(r.\u0275loadImpl()):Ma(null)).pipe(Yd(()=>new we(i=>{const s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((g,y)=>s.setRequestHeader(g,y.join(","))),n.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){const g=n.detectContentTypeHeader();null!==g&&s.setRequestHeader("Content-Type",g)}if(n.responseType){const g=n.responseType.toLowerCase();s.responseType="json"!==g?g:"text"}const a=n.serializeBody();let u=null;const l=()=>{if(null!==u)return u;const g=s.statusText||"OK",y=new Ot(s.getAllResponseHeaders()),D=function zP(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(s)||n.url;return u=new md({headers:y,status:s.status,statusText:g,url:D}),u},c=()=>{let{headers:g,status:y,statusText:D,url:m}=l(),w=null;204!==y&&(w=typeof s.response>"u"?s.responseText:s.response),0===y&&(y=w?200:0);let M=y>=200&&y<300;if("json"===n.responseType&&"string"==typeof w){const k=w;w=w.replace(GP,"");try{w=""!==w?JSON.parse(w):null}catch(ve){w=k,M&&(M=!1,w={error:ve,text:w})}}M?(i.next(new jr({body:w,headers:g,status:y,statusText:D,url:m||void 0})),i.complete()):i.error(new O_({error:w,headers:g,status:y,statusText:D,url:m||void 0}))},d=g=>{const{url:y}=l(),D=new O_({error:g,status:s.status||0,statusText:s.statusText||"Unknown Error",url:y||void 0});i.error(D)};let f=!1;const h=g=>{f||(i.next(l()),f=!0);let y={type:Vr.DownloadProgress,loaded:g.loaded};g.lengthComputable&&(y.total=g.total),"text"===n.responseType&&s.responseText&&(y.partialText=s.responseText),i.next(y)},p=g=>{let y={type:Vr.UploadProgress,loaded:g.loaded};g.lengthComputable&&(y.total=g.total),i.next(y)};return s.addEventListener("load",c),s.addEventListener("error",d),s.addEventListener("timeout",d),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",h),null!==a&&s.upload&&s.upload.addEventListener("progress",p)),s.send(a),i.next({type:Vr.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",c),s.removeEventListener("timeout",d),n.reportProgress&&(s.removeEventListener("progress",h),null!==a&&s.upload&&s.upload.removeEventListener("progress",p)),s.readyState!==s.DONE&&s.abort()}})))}static#e=this.\u0275fac=function(r){return new(r||e)(F(tD))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac})}return e})();const vd=new b("XSRF_ENABLED"),H_=new b("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),$_=new b("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class U_{}let ZP=(()=>{class e{constructor(n,r,o){this.doc=n,this.platform=r,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=zv(n,this.cookieName),this.lastCookieString=n),this.lastToken}static#e=this.\u0275fac=function(r){return new(r||e)(F(dn),F(An),F(H_))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac})}return e})();function YP(e,t){const n=e.url.toLowerCase();if(!U(vd)||"GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t(e);const r=U(U_).getToken(),o=U($_);return null!=r&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,r)})),t(e)}var yn=function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e}(yn||{});function QP(...e){const t=[P_,B_,V_,{provide:ca,useExisting:V_},{provide:da,useExisting:B_},{provide:Ko,useValue:YP,multi:!0},{provide:vd,useValue:!0},{provide:U_,useClass:ZP}];for(const n of e)t.push(...n.\u0275providers);return function $u(e){return{\u0275providers:e}}(t)}const G_=new b("LEGACY_INTERCEPTOR_FN");function XP(){return function Ln(e,t){return{\u0275kind:e,\u0275providers:t}}(yn.LegacyInterceptors,[{provide:G_,useFactory:BP},{provide:Ko,useExisting:G_,multi:!0}])}let JP=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Vt({type:e});static#n=this.\u0275inj=vt({providers:[QP(XP())]})}return e})(),oF=(()=>{class e{constructor(n){this.http=n}sendOrder(n){return this.http.post("https://testologia.site/burgers-order",n)}getData(){return this.http.get("https://testologia.site/burgers-data?extra=black")}static#e=this.\u0275fac=function(r){return new(r||e)(F(P_))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function iF(e,t){if(1&e){const n=Pl();R(0,"div",47)(1,"div",48),Ge(2,"img",49),V(),R(3,"div",50),ee(4),V(),R(5,"div",51),ee(6),V(),R(7,"div",52)(8,"div",53)(9,"div",54),ee(10),V(),R(11,"div",55),ee(12),V()(),R(13,"div",56)(14,"button",57),ye("click",function(){const i=Zn(n).$implicit,s=Fl(),a=Ar(63);return Yn(s.scrollTo(a,i))}),R(15,"span"),ee(16,"\u0417\u0430\u043a\u0430\u0437\u0430\u0442\u044c"),V(),R(17,"span"),function ah(){S.lFrame.currentNamespace=$f}(),R(18,"svg",58),Ge(19,"path",59),V()()()()()()}if(2&e){const n=t.$implicit,r=Fl();Xe(2),Rl("src",n.image,Bu),Xe(2),Nr(n.title),Xe(2),Nr(n.text),Xe(4),$l("",n.price," ",r.currency,""),Xe(2),Nr(n.grams)}}const Dd=function(e){return{error:e}};let sF=(()=>{class e{constructor(n,r){this.fb=n,this.appService=r,this.currency="$",this.form=this.fb.group({order:["",Yc.required],name:["",Yc.required],phone:["",Yc.required]})}ngOnInit(){this.appService.getData().subscribe(n=>this.productsData=n)}scrollTo(n,r){n.scrollIntoView({behavior:"smooth"}),r&&this.form.patchValue({order:r.title+" ("+r.price+" "+this.currency+")"})}confirmOrder(){this.form.valid&&this.appService.sendOrder(this.form.value).subscribe({next:n=>{alert(n.message),this.form.reset()},error:n=>{alert(n.error.message)}})}changeCurrency(){let n="$",r=1;"$"===this.currency?(n="\u20bd",r=80):"\u20bd"===this.currency?(n="\u20b8",r=500):"BYN"===this.currency?(n="\u20ac",r=.9):"\u20ac"===this.currency&&(n="\xa5",r=6.9),this.currency=n,this.productsData.forEach(o=>{o.price=+(o.basePrice*r).toFixed(1)})}static#e=this.\u0275fac=function(r){return new(r||e)(_(MP),_(oF))};static#t=this.\u0275cmp=mf({type:e,selectors:[["app-root"]],decls:86,vars:16,consts:[[1,"main"],[1,"header"],[1,"container"],[1,"logo"],["src","./assets/img/Logo.svg","alt","logo"],[1,"menu"],[1,"menu-list"],[1,"menu-item"],[3,"click"],["title","\u0421\u043c\u0435\u043d\u0438\u0442\u044c \u0432\u0430\u043b\u044e\u0442\u0443","id","change-currency",1,"currency",3,"click"],[1,"main-content"],[1,"main-info"],[1,"main-small-info"],[1,"main-title"],[1,"main-text"],[1,"main-action"],["id","main-action-button",1,"button",3,"click"],["src","./assets/img/main_burger.png","alt","Burger",1,"main-image"],["id","why",1,"why"],["why",""],[1,"why-title","common-title"],[1,"why-items"],[1,"why-item"],["src","./assets/img/burger.png","alt","Burger",1,"why-item-images"],[1,"why-item-title"],[1,"why-item-text"],["src","./assets/img/meat.png","alt","Meat",1,"why-item-images"],["src","./assets/img/food_truck.png","alt","Burger",1,"why-item-images"],["id","products",1,"products"],["products",""],[1,"products-title","common-title"],[1,"products-items"],["class","products-item",4,"ngFor","ngForOf"],["id","order",1,"order"],["order",""],[1,"order-title","common-title"],["src","./assets/img/order_image.png","alt","Burger order",1,"order-images"],[1,"order-form"],[1,"order-form-text"],[1,"order-form-inputs",3,"formGroup"],[1,"order-form-input"],["type","text","placeholder","\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0442\u043e\u0432\u0430\u0440 \u0432 \u0441\u043f\u0438\u0441\u043a\u0435","id","burger","formControlName","order","readonly",""],["type","text","placeholder","\u0412\u0430\u0448\u0435 \u0438\u043c\u044f","id","name","formControlName","name"],["type","text","placeholder","\u0412\u0430\u0448 \u0442\u0435\u043b\u0435\u0444\u043e\u043d","id","phone","formControlName","phone"],["id","order-action",1,"button",3,"disabled","click"],[1,"footer"],[1,"rights"],[1,"products-item"],[1,"products-item-image"],["alt","Burger 1",3,"src"],[1,"products-item-title"],[1,"products-item-text"],[1,"products-item-extra"],[1,"products-item-info"],[1,"products-item-price"],[1,"products-item-weight"],[1,"products-item-action"],[1,"button","product-button",3,"click"],["xmlns","http://www.w3.org/2000/svg","width","24","height","25","viewBox","0 0 24 25","fill","none"],["d","M17 18.5C17.5304 18.5 18.0391 18.7107 18.4142 19.0858C18.7893 19.4609 19 19.9696 19 20.5C19 21.0304 18.7893 21.5391 18.4142 21.9142C18.0391 22.2893 17.5304 22.5 17 22.5C16.4696 22.5 15.9609 22.2893 15.5858 21.9142C15.2107 21.5391 15 21.0304 15 20.5C15 19.39 15.89 18.5 17 18.5ZM1 2.5H4.27L5.21 4.5H20C20.2652 4.5 20.5196 4.60536 20.7071 4.79289C20.8946 4.98043 21 5.23478 21 5.5C21 5.67 20.95 5.84 20.88 6L17.3 12.47C16.96 13.08 16.3 13.5 15.55 13.5H8.1L7.2 15.13L7.17 15.25C7.17 15.3163 7.19634 15.3799 7.24322 15.4268C7.29011 15.4737 7.3537 15.5 7.42 15.5H19V17.5H7C6.46957 17.5 5.96086 17.2893 5.58579 16.9142C5.21071 16.5391 5 16.0304 5 15.5C5 15.15 5.09 14.82 5.24 14.54L6.6 12.09L3 4.5H1V2.5ZM7 18.5C7.53043 18.5 8.03914 18.7107 8.41421 19.0858C8.78929 19.4609 9 19.9696 9 20.5C9 21.0304 8.78929 21.5391 8.41421 21.9142C8.03914 22.2893 7.53043 22.5 7 22.5C6.46957 22.5 5.96086 22.2893 5.58579 21.9142C5.21071 21.5391 5 21.0304 5 20.5C5 19.39 5.89 18.5 7 18.5ZM16 11.5L18.78 6.5H6.14L8.5 11.5H16Z","fill","#191411"]],template:function(r,o){if(1&r){const i=Pl();R(0,"section",0)(1,"header",1)(2,"div",2)(3,"div",3),Ge(4,"img",4),V(),R(5,"nav",5)(6,"ul",6)(7,"li",7)(8,"a",8),ye("click",function(){Zn(i);const a=Ar(32);return Yn(o.scrollTo(a))}),ee(9,"\u041f\u043e\u0447\u0435\u043c\u0443 \u0443 \u043d\u0430\u0441"),V()(),R(10,"li",7)(11,"a",8),ye("click",function(){Zn(i);const a=Ar(56);return Yn(o.scrollTo(a))}),ee(12,"\u041c\u0435\u043d\u044e \u0431\u0443\u0440\u0433\u0435\u0440\u043e\u0432"),V()(),R(13,"li",7)(14,"a",8),ye("click",function(){Zn(i);const a=Ar(63);return Yn(o.scrollTo(a))}),ee(15,"\u041e\u0444\u043e\u0440\u043c\u043b\u0435\u043d\u0438\u0435 \u0437\u0430\u043a\u0430\u0437\u0430"),V()()()(),R(16,"div",9),ye("click",function(){return o.changeCurrency()}),ee(17),V()()(),R(18,"section",10)(19,"div",2)(20,"div",11)(21,"span",12),ee(22," \u041d\u043e\u0432\u043e\u0435 \u043c\u0435\u043d\u044e "),V(),R(23,"h1",13),ee(24," \u0411\u0443\u0440\u0433\u0435\u0440 \u0427\u0435\u0434\u0434\u0435\u0440 "),V(),R(25,"p",14),ee(26," \u041c\u044b \u043e\u0431\u043d\u043e\u0432\u0438\u043b\u0438 \u043d\u0430\u0448\u0435 \u043c\u0435\u043d\u044e, \u0441\u043f\u0435\u0448\u0438\u0442\u0435 \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0441\u0435\u0437\u043e\u043d\u043d\u044b\u0435 \u043d\u043e\u0432\u0438\u043d\u043a\u0438 \u0438 \u043d\u0430\u0441\u043b\u0430\u0434\u0438\u0442\u044c\u0441\u044f \u043e\u0442\u043b\u0438\u0447\u043d\u044b\u043c \u0432\u043a\u0443\u0441\u043e\u043c \u043d\u0430\u0448\u0438\u0445 \u0431\u0443\u0440\u0433\u0435\u0440\u043e\u0432. \u0413\u043e\u0442\u043e\u0432\u0438\u043c \u0434\u043b\u044f \u0432\u0430\u0441 \u043b\u0443\u0447\u0448\u0438\u0435 \u0431\u0443\u0440\u0433\u0435\u0440\u044b \u0432 \u0433\u043e\u0440\u043e\u0434\u0435 \u0438\u0437 \u043e\u0442\u0431\u043e\u0440\u043d\u043e\u0439 \u043c\u0440\u0430\u043c\u043e\u0440\u043d\u043e\u0439 \u0433\u043e\u0432\u044f\u0434\u0438\u043d\u044b. "),V(),R(27,"div",15)(28,"button",16),ye("click",function(){Zn(i);const a=Ar(56);return Yn(o.scrollTo(a))}),ee(29,"\u0421\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043c\u0435\u043d\u044e"),V()()(),Ge(30,"img",17),V()()(),R(31,"section",18,19)(33,"div",2)(34,"div",20),ee(35," \u041f\u043e\u0447\u0435\u043c\u0443 \u043d\u0430\u0441 \u0432\u044b\u0431\u0438\u0440\u0430\u044e\u0442? "),V(),R(36,"div",21)(37,"div",22),Ge(38,"img",23),R(39,"div",24),ee(40,"\u0410\u0432\u0442\u043e\u0440\u0441\u043a\u0438\u0435 \u0440\u0435\u0446\u0435\u043f\u0442\u044b"),V(),R(41,"div",25),ee(42,"\u041d\u0430\u0448\u0438 \u0431\u0443\u0440\u0433\u0435\u0440\u044b \u043e\u0431\u043b\u0430\u0434\u0430\u044e\u0442 \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u043c \u0441\u043e\u0447\u0435\u0442\u0430\u043d\u0438\u0435\u043c \u0432\u043a\u0443\u0441\u043e\u0432 \u0438\xa0\u043d\u0435\xa0\u043f\u043e\u0445\u043e\u0436\u0438 \u043d\u0438\xa0\u043d\u0430\xa0\u043a\u0430\u043a\u0438\u0435 \u0434\u0440\u0443\u0433\u0438\u0435. \u041c\u044b\xa0\u0442\u0449\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u043e\u0442\u0431\u0438\u0440\u0430\u0435\u043c \u043b\u0443\u0447\u0448\u0438\u0435 \u0438\u043d\u0433\u0440\u0435\u0434\u0438\u0435\u043d\u0442\u044b \u0438\xa0\u0441\u043e\u0447\u0435\u0442\u0430\u043d\u0438\u044f \u0432\u043a\u0443\u0441\u043e\u0432 \u0434\u043b\u044f \u043d\u0430\u0448\u0435\u0433\u043e \u043c\u0435\u043d\u044e. "),V()(),R(43,"div",22),Ge(44,"img",26),R(45,"div",24),ee(46,"\u041c\u0440\u0430\u043c\u043e\u0440\u043d\u0430\u044f \u0433\u043e\u0432\u044f\u0434\u0438\u043d\u0430"),V(),R(47,"div",25),ee(48,"\u0414\u043b\u044f \u043d\u0430\u0448\u0438\u0445 \u0431\u0443\u0440\u0433\u0435\u0440\u043e\u0432 \u043c\u044b\xa0\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u043e\u0442\u0431\u043e\u0440\u043d\u0443\u044e 100% \u043c\u0440\u0430\u043c\u043e\u0440\u043d\u0443\u044e \u0433\u043e\u0432\u044f\u0434\u0438\u043d\u0443, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u0437\u0430\u043a\u0443\u043f\u0430\u0435\u043c \u0438\u0441\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0443\xa0\u0444\u0435\u0440\u043c\u0435\u0440\u043e\u0432. \u041c\u044b\xa0\u0443\u0432\u0435\u0440\u0435\u043d\u044b \u0432\xa0\u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043d\u0430\u0448\u0435\u0433\u043e \u043c\u044f\u0441\u0430. "),V()(),R(49,"div",22),Ge(50,"img",27),R(51,"div",24),ee(52,"\u0411\u044b\u0441\u0442\u0440\u0430\u044f \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0430"),V(),R(53,"div",25),ee(54,"\u041c\u044b\xa0\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u0432\xa0\u043f\u0440\u0435\u0434\u0435\u043b\u0430\u0445 \u041c\u041a\u0410\u0414 \u0437\u0430\xa030\xa0\u043c\u0438\u043d\u0443\u0442, \u0430\xa0\u0435\u0441\u043b\u0438 \u043d\u0435\xa0\u0443\u0441\u043f\u0435\u0435\u043c\xa0\u2014 \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0430 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e. \u041c\u044b\xa0\u0442\u0449\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0443\u043f\u0430\u043a\u043e\u0432\u044b\u0432\u0430\u0435\u043c \u043d\u0430\u0448\u0438 \u0431\u0443\u0440\u0433\u0435\u0440\u044b, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\xa0\u0434\u043e\u0440\u043e\u0433\u0435 \u043e\u043d\u0438 \u043d\u0435\xa0\u043e\u0441\u0442\u044b\u043b\u0438. "),V()()()()(),R(55,"section",28,29)(57,"div",2)(58,"div",30),ee(59," \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0441\u0432\u043e\u0439 \u0431\u0443\u0440\u0433\u0435\u0440 "),V(),R(60,"div",31),function Hg(e,t,n,r,o,i,s,a){const u=v(),l=$(),c=e+L,d=l.firstCreatePass?function CI(e,t,n,r,o,i,s,a,u){const l=t.consts,c=vr(t,e,4,s||null,on(l,a));vl(t,n,c,on(l,u)),bi(t,c);const d=c.tView=yl(2,c,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l,null);return null!==t.queries&&(t.queries.template(t,c),d.queries=t.queries.embeddedTView(c)),c}(c,l,u,t,n,r,o,i,s):l.data[c];wt(d,!1);const f=$g(l,u,d,e);wi()&&Ui(l,u,f,d),Ie(f,u),ls(u,u[c]=dg(f,u,f,d)),Di(d)&&gl(l,u,d),null!=s&&ml(u,d,a)}(61,iF,20,6,"div",32),V()()(),R(62,"section",33,34)(64,"div",2)(65,"div",35),ee(66," \u043e\u0444\u043e\u0440\u043c\u043b\u0435\u043d\u0438\u0435 \u0437\u0430\u043a\u0430\u0437\u0430 "),V(),Ge(67,"img",36),R(68,"div",37)(69,"div",38),ee(70,"\u0417\u0430\u043f\u043e\u043b\u043d\u0438\u0442\u0435 \u0432\u0441\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0438 \u043d\u0430\u0448 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440 \u0441\u0432\u044f\u0436\u0435\u0442\u0441\u044f \u0441 \u0432\u0430\u043c\u0438 \u0434\u043b\u044f \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u044f \u0437\u0430\u043a\u0430\u0437\u0430 "),V(),R(71,"div",39)(72,"div",40),Ge(73,"input",41),V(),R(74,"div",40),Ge(75,"input",42),V(),R(76,"div",40),Ge(77,"input",43),V(),R(78,"button",44),ye("click",function(){return o.confirmOrder()}),ee(79,"\u041e\u0444\u043e\u0440\u043c\u0438\u0442\u044c \u0437\u0430\u043a\u0430\u0437"),V()()()()(),R(80,"footer",45)(81,"div",2)(82,"div",3),Ge(83,"img",4),V(),R(84,"div",46),ee(85,"\u0412\u0441\u0435 \u043f\u0440\u0430\u0432\u0430 \u043d\u0430\u0440\u0443\u0448\u0435\u043d\u044b=)"),V()()()}if(2&r){let i,s,a;Xe(17),Nr(o.currency),Xe(44),Ao("ngForOf",o.productsData),Xe(10),Ao("formGroup",o.form),Xe(1),Cs(Ss(10,Dd,(null==(i=o.form.get("order"))?null:i.invalid)&&((null==(i=o.form.get("order"))?null:i.dirty)||(null==(i=o.form.get("order"))?null:i.touched)))),Xe(2),Cs(Ss(12,Dd,(null==(s=o.form.get("name"))?null:s.invalid)&&((null==(s=o.form.get("name"))?null:s.dirty)||(null==(s=o.form.get("name"))?null:s.touched)))),Xe(2),Cs(Ss(14,Dd,(null==(a=o.form.get("phone"))?null:a.invalid)&&((null==(a=o.form.get("phone"))?null:a.dirty)||(null==(a=o.form.get("phone"))?null:a.touched)))),Xe(2),Ao("disabled",!o.form.valid)}},dependencies:[Zv,Xs,WD,ZD,la,dd],styles:['.main[_ngcontent-%COMP%]{background-image:url(main_bg.b240d44a642da5dd.png);background-position:top center;overflow:hidden}.header[_ngcontent-%COMP%]{padding:40px 0}.header[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{display:flex;align-items:center}.logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{vertical-align:bottom}.menu[_ngcontent-%COMP%]{margin-left:191px}.menu-list[_ngcontent-%COMP%]{list-style:none;display:flex}.menu-item[_ngcontent-%COMP%]{margin-right:88px}.menu-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#fff;font-size:18px;text-decoration:none;cursor:pointer}.menu-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{border-bottom:2px solid white}.currency[_ngcontent-%COMP%]{border:1px solid white;padding:11px 0;box-sizing:border-box;border-radius:5px;width:45px;height:45px;text-align:center;cursor:pointer;margin-left:auto;font-size:18px;-webkit-user-select:none;user-select:none}.main-content[_ngcontent-%COMP%]{padding-top:103px;padding-bottom:199px}.main-content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{position:relative}.main-info[_ngcontent-%COMP%]{max-width:608px}.main-small-info[_ngcontent-%COMP%]{background:#D3320F;border-radius:100px;padding:12px 16px;display:inline-block;font-size:18px}.main-title[_ngcontent-%COMP%]{font-family:Merriweather,sans-serif;font-size:120px;line-height:156px;letter-spacing:3.6px;text-transform:uppercase;margin-bottom:56px}.main-text[_ngcontent-%COMP%]{font-size:24px;line-height:29px;margin-bottom:56px}.main-image[_ngcontent-%COMP%]{position:absolute;top:-123px;left:calc(100% - 991px)}.why[_ngcontent-%COMP%]{background-image:url(whybg.87bc7df9e1d253c2.png);background-position:top center;background-size:initial;padding-bottom:180px}.why-items[_ngcontent-%COMP%]{margin-top:60px;display:grid;gap:100px;grid-template-columns:repeat(3,312px);justify-content:center}.why-item[_ngcontent-%COMP%]{text-align:center}.why-item-title[_ngcontent-%COMP%]{font-size:24px;line-height:29px;padding:24px 0}.why-item-text[_ngcontent-%COMP%]{font-size:16px;line-height:140%}.products[_ngcontent-%COMP%]{background-image:url(burgers_bg.19b7b78d03f8cbf0.png);background-position:top center;background-size:1400px;padding-bottom:180px}.products-items[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(3,384px);gap:24px;margin-top:60px}.products-item[_ngcontent-%COMP%]{padding:30px;background:#211A16;border-radius:16px;border:1px solid #353535}.products-item-image[_ngcontent-%COMP%]{height:250px}.products-item-image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:100%}.products-item-title[_ngcontent-%COMP%]{font-size:24px;line-height:29px;margin:24px 0}.products-item-text[_ngcontent-%COMP%]{font-size:16px;line-height:140%;margin-bottom:20px}.products-item-extra[_ngcontent-%COMP%]{display:flex;justify-content:space-between}.products-item-price[_ngcontent-%COMP%]{font-size:32px;line-height:39px;margin-bottom:8px}.products-item-weight[_ngcontent-%COMP%]{font-size:16px;line-height:18px;color:#757575}.button.product-button[_ngcontent-%COMP%]{display:flex;justify-content:center;width:182px;height:62px}.button.product-button[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:first-child{margin-right:10px}.order[_ngcontent-%COMP%]{background:image("../assets/img/order_bg.png");background-position:top center;background-repeat:no-repeat;padding-bottom:180px;overflow:hidden}.order[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{position:relative}.order-images[_ngcontent-%COMP%]{position:absolute;top:0;right:calc(100% - 764px);z-index:-1}.order-form[_ngcontent-%COMP%]{border-radius:16px;border:1px solid #353535;background:#211A16;margin-top:60px;width:426px;padding:60px 40px;box-sizing:border-box;margin-left:674px}.order-form-text[_ngcontent-%COMP%]{font-size:24px;line-height:29px;text-align:center}.order-form-inputs[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin-top:40px}.order-form-input[_ngcontent-%COMP%]{width:344px;height:62px;background:linear-gradient(95.61deg,#da8023 0%,#e2b438 100%);border-radius:8px;margin-bottom:20px;display:flex;align-items:center;justify-content:center}.order-form-input.error[_ngcontent-%COMP%]{background:red}.order-form-input[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{padding:16px 10px;background:#211a16;border-radius:8px;color:#fff;width:342px;height:60px;box-sizing:border-box;outline:none;border:1px solid transparent}.order-form-inputs[_ngcontent-%COMP%]   .button[_ngcontent-%COMP%]{display:flex;width:100%}.footer[_ngcontent-%COMP%]{padding:60px 0}.footer[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}.rights[_ngcontent-%COMP%]{font-size:16px;line-height:20px}']})}return e})(),aF=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Vt({type:e,bootstrap:[sF]});static#n=this.\u0275inj=vt({imports:[hO,IP,JP]})}return e})();dO().bootstrapModule(aF).catch(e=>console.error(e))}},re=>{re(re.s=497)}]);